On more than one occasion, I did not accidentally change the deployment target of my Xcode project which I do not want. The latest time, I came to know because a customer was not seeing my app. Is there any way to put something in my code somewhere to emphasize the value of the deployment goal? I think it would be too little to change me accidentally.
You can check your deployment target version through __iPHOOOSIISISINIIPIRIS Compare Macros and some SDK versions, for example, to ensure that your deployment goal is 4.0, place the following conditions somewhere:
#if __IPHONE_OS_VERSION_MIN_REQUIRED! = __IPHONE_4_0 # Terror wrong deployment target - should be 4.0 #endif
Comments
Post a Comment