Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting "Missing SDK in target picChoice: iphoneos4.0" error when building a test release of my app in Xcode 4, pvw 5

Tags:

xcode

xcode4

I have opened a functioning Xcode 3x project in Xcode 4.0 pvw 5 and am getting the following error whei I try to build a debug version of the app: "Missing SDK in target picChoice: iphoneos4.0"

I am trying to find where and how to remedy this, and I am coming up with bupkus.

I apologize if this is not very clear, but I am rather flummoxed by Xcode 4 so far....

like image 226
Sosullivan Avatar asked Nov 29 '10 22:11

Sosullivan


1 Answers

Your problem was probably that Xcode 4 only came with SDK 4.2, and the project pointed to 4.0.

It's pretty common!

The solution is to go to the project info | Build settings | Base SDK and setting it to "Latest iOS" so that you don't have to touch it for future updates.

When you close the window, you'll have to switch config from debug to release or distribution and back so that it updates and Xcode removes the "Missing SDK" problem.

I just wanted to put the full answer up here to help others who have the same problem ;)

like image 171
Luke Avatar answered Nov 06 '22 22:11

Luke