Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.1.0 Beta 1
-
None
-
Mac OS X 10.8.3
Description
A project with these characteristics:
- targeting iOS (simulator or device)
- no shadow-building
- TEMPLATE=app
- some value for DESTDIR which is not the source directory
...will generate the .xcodeproj file in the source directory anyway. Running that project file in XCode will spew files in DESTDIR and the source directory, disconnected from each other and unable to function. XCode fails with the error:
cp: $${DESTDIR}/Debug-iphonesimulator/ProjectName.app: No such file or directory
...(or Debug-iphoneos, as the case may be).