If you as me stumbled across one of the following errors when trying to build you new NimbleKit iPhone application, try a few possible solutions below.
Error messages you might get:
- There is no SDK with the name or path ‘iphoneos’
- “_ADBannerContentSizeIdentifierPortrait”, referenced from: …
- “_ADBannerContentSizeIdentifierLandscape”, referenced from: …
1. IPhone SDK version
First possible solution is to check that you are using the correct version of iPhone SDK. Go to /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs and make sure the folder for the desired version exists.
For example, NimbleKit 1.9.5 requires iOS SDK 4.2. Check NimbleKit website for more information on system requirements.
2. Project build SDK
If correct version of SDK is installed another place to check is your project settings. Go to Project -> Edit Project Settings menu. On the Build tab look for Base SDK option. It should be set to the version required by NimbleKit (4.2 for NimbleKit 1.9.5).
iOS Deployment Target doesn’t matter in this case as it’s a minimum iOS version you want your app to run on.