Unable to build using Xcode 4 - The selected run destination is not valid for this action

后端 未结 12 2304
耶瑟儿~
耶瑟儿~ 2021-01-30 21:44

So I\'m horribly confused by this error, other threads on Stack Overflow mention I should set the SDK, but I see no option to do this. I\'m trying to build:http://wafflesoftwar

12条回答
  •  误落风尘
    2021-01-30 22:02

    Kind of amazing that none of the answers here solved the issue for me, but I figured it out. Forget restarting Xcode, or using Autocreate Schemes, still only 64-bit will show up as a valid destination in the scheme.

    The correct solution is to change the Architecture for your project. Go to Build Settings (in the root node of your project), and change Architecture to 32-bit Intel, it's right above the Base SDK setting. Destination will instantly switch to "My Mac 32-bit". HTH somebody.

提交回复
热议问题