Trying to build a Corona project with the latest SDK 5 fails (some files cannot be found).
Is there a chance of fixing it soon with the daily builds???
I know the SDK it’s brand new & beta, but at the moment SDK 5 is the only iOS SDK downloadable from Apple. [import]uid: 10666 topic_id: 10946 reply_id: 310946[/import]
Look under Xcode and then to the right is the download button with the description that says it has the sdk in it. [import]uid: 13321 topic_id: 10946 reply_id: 39841[/import]
Thanks for the quick reply! Oooh, right - I’ve still been on the tab “iOS SDK beta” (top of the page) instead of “iOS SDK 4.3”; sorry.
@Ansca: Nevertheless it would be great if you could include the new SDK 5 paths (to “copypng” etc.), cause SDK 5 is needed to properly activate and communicate with iOS 5 devices. And, btw, iOS 5 is great! [import]uid: 10666 topic_id: 10946 reply_id: 39843[/import]
I had the same problem, having installed both iOS SDK 4.3 and iOS SDK 5.0 Beta. The problem is that Corona tries to use the Beta SDK (in my case, installed on /DeveloperBeta), not the stable one (iOS 4.3 on /Developer).
This issue can be easily solved in two different ways:
run in Terminal: sudo xcode-select -switch /Developer
This command will set the default Xcode to the one installed on /Developer, and it will remain configured this way until you switch to other installation. It requires root (or sudo) access to the machine.
or, alternatively:
open a terminal, and type
export DEVELOPER_DIR=/Developer
after that, start Corona from the Terminal (e.g.: /Applications/Corona.268/simulator)
This alternative does not need sudo/root access, and it is only valid for the Corona Simulator instance that you launched in the Terminal, after exporting DEVELOPER_DIR.
Hope it helps. [import]uid: 16138 topic_id: 10946 reply_id: 43076[/import]