Skip to content

Instantly share code, notes, and snippets.

@douglashill
Last active June 16, 2016 19:24
Show Gist options
  • Save douglashill/41145337a9bca87bb8ba to your computer and use it in GitHub Desktop.
Save douglashill/41145337a9bca87bb8ba to your computer and use it in GitHub Desktop.
Force a particular iOS SDK version, because otherwise Xcode uses silently uses whichever SDK it likes.
#if !defined(__IPHONE_8_2) || defined(__IPHONE_8_3) || defined(__IPHONE_9_0)
#error Base SDK must be iOS 8.2.
#endif
@douglashill
Copy link
Author

Make sure this file does not import CABase.h or it does not work as expected.

@douglashill
Copy link
Author

Bug report for Xcode not doing this by default: http://openradar.appspot.com/18626512

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment