Details
Description
Description:
When a new SDK is selected in Studio, and the project is saved and a run is attempted, and error will occur:
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.03360/iphone/builder.py", line 1162, in main
execute_xcode("iphonesimulator%s" % link_version,["GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s" % (log_id,sdk_version,debugstr)],False)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.03360/iphone/builder.py", line 1080, in execute_xcode
output = run.run(args,False,False,o)
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.03360/iphone/run.py", line 39, in run
sys.exit(rc)
SystemExit: 65
Steps to reproduce:
1) Launch studio
2) Create a new mobile project with iOS targets
3) Run project in simulator or on device
4) Choose a new SDK and save Tiapp.xml
5) Attempt to run on device or in the simulator
Result:
Failure with an error as listed above
Expected result:
THe build completes and runs as expected.
Notes:
The workaround is to clean the project and run again. It will be successful.
Attachments
Issue Links
- is duplicated by
-
TISTUD-531 Automatically run Project > Clean when switching SDK versions in tiapp.xml
-
- Closed
-
- is included by
-
TIMOB-4609 SDK switch causes build errors in TiStudio
-
- Closed
-