Created
December 17, 2013 22:13
-
-
Save vivekvasani/8013526 to your computer and use it in GitHub Desktop.
Check if Base SDK is set to desired SDK version and throw error if it doesn't match. I put this in my *.pch file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check if Base SDK is set to desired SDK version and throw error if it doesn't match | |
#if __IPHONE_OS_VERSION_MAX_ALLOWED != __IPHONE_6_1 | |
#error App should be built using iOS 6.1 SDK | |
#else | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment