Launching newly created project in iOS simulator produces following exception:
If you check the build.py script there is a test at line 1197. xcode will not be invoked if the test fails. I can see from the code that TARGET_BUILD_DIR must be equal to build_dir. HOWEVER in xcode 4.2 I have no idea how to correct TARGET_BUILD_DIR (ENV). The difference can clearly be seen mid string at ".....project/iphone/project....".
It would help if the source of TARGET_BUILD_DIR was documented. Looking at the contents of this string it can only come from Titanium since Xcode can only obtain this string from the <project>.xcodeproj file which is created by Titanium.
Steps to reproduce:
- create a new "Titanium mobile project" in Titanium studio. Use Xcode 4.2.1
- do not add any new code to the project
- build the project using "iPhone Simulator"
- Open the <project>.xcodeproj file created by Titanium Studio by invoking the Xcode GUI. The compiled project can then be run using Xcode outside of Titanium.