I’ve downloaded the Corona Plugin for Xcode and when I try to run the code, I’ve got the following error:
There is a problem launching using posix_spawn (error code: 2)
Previously, I’ve installed Corona SDK. As a result, I’ve four new applications: Corona Simulator, Corona Builder, Setup Corona Enterprise and Setup Corona Native.
I see on Internet one person that had the same problem than me and it resolved to add CoronaSDK folder in Mac apps folder… I don’t have any CoronaSDK folder. I suppose that CoronaSDK was used in earlier versions.
It is very short and should explain everything. Regarding your problem it says:
Q: When trying to run my project I get this message “Launch error. There is a problem launching posix_spawn”?
A: This message is thrown when Xcode is unable to find the CoronaSDK folder. Make sure you have a Corona build folder named CoronaSDK in the Applications folder of the computer.
This means the active Corona-xxxx folder (either public release or daily build) in your computers Applications folder needs to be renamed to CoronaSDK - for example Corona-3229 should be renamed to CoronaSDK (and btw yes you are right it is a leftover from back when public build folders were named CoronaSDK)
You can do this manually or you can do it with the plugin’s daily build picker (Command+P) in Xcode.