Can't build, Corona looking for old Beta

I’ve managed to stuff up my xCode installs.

I installed xCode Beta 3 and everything was normal, could build with both iOS 6 and 7. 

Then I was going to update to Beta 5 but Corona is still looking for Beta 3 it seems, even though I uninstalled it (perhaps not correctly).

Since then I uninstalled version 4.6 and 5 beta, reinstalled 4.6 and still not working. Does not matter if I’m building for 6 or 7.

It is looking for something in Applications/Xcode5-DP3.app/ which does not exist anymore.

Runtime error ...box/temp/myApp.app/.build/libtemplate/Builder.lua:295: \<error\>{"status":32512,"message":"sh: /Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory"}\</error\> stack traceback: [C]: ? [C]: in function 'assert' ...box/temp/myApp.app/.build/libtemplate/Builder.lua:295: in function 'checkError' ...box/temp/myApp.app/.build/libtemplate/Builder.lua:318: in function 'build' ?: in function 'buildExe' ?: in function \<?:692\> Runtime error: ...box/temp/myApp.app/.build/libtemplate/Builder.lua:295: \<error\>{"status":32512,"message":"sh: /Applications/Xcode5-DP3.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++: No such file or directory"}\</error\> stack traceback: [C]: ? [C]: in function 'assert' ...box/temp/myApp.app/.build/libtemplate/Builder.lua:295: in function 'checkError' ...box/temp/myApp.app/.build/libtemplate/Builder.lua:318: in function 'build' ?: in function 'buildExe' ?: in function \<?:692\>

I have also uninstalled and installed Corona few times (currently using build 1187). Deleting the Corona files in Library/Application Support. 

Hi Jon,

This may still be something in the OS, where some remaining install bits of XCode Beta 5 are lingering around, causing issues. How does Apple recommend that you start “clean” with XCode 4.x? I haven’t needed to do this action in a long time (XCode reinstall), so I’m not sure if there are additional steps required for Beta 5.

Make sure that you also have no conflicts in your OS X certificates, since everything in app development on OS X is so closely linked to XCode.

Let me know how this goes…

Thanks,

Brent

Thanks Brent. Finally found some information and I needed to switch to my correct Xcode installation like so:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer

Hi Jon,

This may still be something in the OS, where some remaining install bits of XCode Beta 5 are lingering around, causing issues. How does Apple recommend that you start “clean” with XCode 4.x? I haven’t needed to do this action in a long time (XCode reinstall), so I’m not sure if there are additional steps required for Beta 5.

Make sure that you also have no conflicts in your OS X certificates, since everything in app development on OS X is so closely linked to XCode.

Let me know how this goes…

Thanks,

Brent

Thanks Brent. Finally found some information and I needed to switch to my correct Xcode installation like so:

sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer