I got it working. I had to specify the full path /Developer/usr/bin/xcodebuild
in my build script.
How do I build with the old version of Xcode on Mountain Lion?
-
29-11-2021 - |
Question
I just upgraded from Snow Leopard to Mountain Lion, and I'm trying to get a project to build using an older version of Xcode, 3.2.6. I ran sudo xcode-select --switch /Developer
but now when I try to build my project with xcodebuild
, I get
xcrun: Error: failed to exec real xcrun. (No such file or directory)
It builds just fine from within the IDE. How can I get this to build from the CLI again?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow