4
votes

I have a trouble with XCode 5. Yesterday everything was fine. Today, when I try to run my app on iPhone 5 or iPad Mini I get the following error:

iOS deployment target '7.0' for architecture 'armv7s' and variant 'normal' is greater than the maximum value '6.1.99' for the iOS 6.1 SDK.

Base SDK and Deployment Target are both iOS 7 (Latest version). I have iOS7 on both devices. When I try to launch the app on simulators with iOS7 everything is fine. I've tried to clean the project, to restart XCode and MAC, looked in project.pbxproj - still can't understand what's up. So, any help would be very great!

Base SDK:

Deployment target:

2

2 Answers

6
votes

So, I've solved the problem by deleting iOS 6.1 SDK from XCode completely - I've installed it manually a couple of weeks before. After that the app built with no problems.

1
votes

You have configured your project to run on iOS 7 but you are building against iOS 6.1 SDK.

You should build against the latest SDK but set the deployment for the lowest version that you would like to support (You have done the opposite here).

In your project build settings make sure you have selected ios 7 as base sdk.

enter image description here