The selected run destination is not valid for this action

前端 未结 16 2372
抹茶落季
抹茶落季 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:48

    I got same error and for some reason after going through all these it did not work. Notice in the very top menue is had my App Name> IOS Developer. Changed to App Name> IPhone 5.0 and went right into Simulator and got no error.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-04 16:53

    I had the same error message. My solution is to delete the info.plist file from build phrases -> copy bundle resources.

    0 讨论(0)
  • 2020-12-04 16:54

    I was facing same issue in my application and I solved it by following these steps: 1. Go to Project-> Build Settings 2. Change BaseSDK to Latest OS

    0 讨论(0)
提交回复
热议问题