The answer to this question does not appear to work on xcode 4.5. To summarise it, is there a way for XCode to warn about classes, methods and procedures that are only available a later version than the deployment target?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Suppress “Circular dependency detected” suppress w
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- xcode 4 garbage collection removed?
- Xcode: Is there a way to change line spacing (UI L
- Unable to process app at this time due to a genera
There is a correct answer inside of the question that you linked too. With some experimentation, I came up with this (from mattjgalloway's answer):
Then repeat for all the versions that make sense (i.e. 4.3 and above for Xcode 4.5). The
__IPHONE_OS_VERSION_MIN_REQUIRED
macro will check the deployment target.This tool can do the job of finding too new API calls in your project: http://www.deploymateapp.com/