- Home /
XCode error
Since a few days XCode tells me "selected run destination is not valid" after every build in Unity.
The workaround is going to Edit scheme / Run / Info and just selecting the same executable from the dropdown list again. Then the destination "iOS device" can be selected instead of "My MacOS..". OK that works but it's quite annoying. I am using XCode 4.02, Unity 3.40f5.
Anybody out there having a sustainable solution?
Thanks Kay
Answer by ptdnet · Dec 01, 2011 at 12:31 AM
Every so often (hasn't happened since I upgraded to Xcode 4.2) the project used to get messed up so i would just nuke it and have Unity re-build it. Not a "real" solution, but it's pretty quick and easy.
No solution for me, because I have made changes to Unity's Objective-C manually to integrate a library. What is weird, I definitely didn't update anything since ages, still XCode 4.02, Unity 3.40f5.
Your answer
![](https://koobas.hobune.stream/wayback/20220613061244im_/https://answers.unity.com/themes/thub/images/avi.jpg)