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

后端 未结 12 2162
耶瑟儿~
耶瑟儿~ 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:10

    Xcode 4.5. I was trying to compile for 10.6. It seemed to be stuck on 64 bit just because it couldn't find the sdk. I didn't get any message about it not finding the sdk.

    I first tried to put in the correct path to /Developer-3.2.6/SDKs/MacOSX10.6.sdk but xcode didn't want to find it there. Then I copied that folder into 4.5 next to the other OSX Platform sdk (new location I think just look in the bundle).

    And magically my 32 bit came back.

    So my conclusion is that the 32/64 bit option is really dependent on whether xcode can verify the sdk that you're trying to use. Being stuck at 64 while trying to compile for 32 gives the error without notifying you that its first issue is that the sdk can't be found.

提交回复
热议问题