The selected run destination is not valid for this action

前端 未结 16 2484
抹茶落季
抹茶落季 2020-12-04 16:31

I have opened a project that has always been iphone/ipad. I can\'t build it now because for some reason my only \"Scheme\" option is \"MyApp My Mac 64-bit\". How can I get t

16条回答
  •  眼角桃花
    2020-12-04 16:52

    I've hit the same issue, needing to build with the 10.6 SDK. But I've found that XCode 4.4 doesn't contain this SDK! So I had to put it back, by opening the XCode.app package contents, and going to: XCode.app/Contents/Developer/Platforms/MacOSX.platforms/Developer/SDKs and copying in MacOSX10.6.sdk from my old XCode 3 Developer folder.

    Surprisingly enough, this works! When you quit and relaunch XCode, and select the Base SDK for the project, 10.6 appears in the drop-down.

    But beware, when XCode installs an update, you'll have to repeat this process, as I found just now after updating to 4.4.1.

提交回复
热议问题