[TIMOB-10750] iPhone Simulator: bad path crash
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-06T10:08:56.000+0000 |
Affected Version/s | Release 2.1.2, Release 3.0.0 |
Fix Version/s | Release 3.0.0, Sprint 2012-18 Core |
Components | iOS |
Labels | bad, developer, ipass1, iphone, path, simulator |
Reporter | richm |
Assignee | Max Stepanov |
Created | 2011-04-15T01:27:46.000+0000 |
Updated | 2017-03-21T18:24:46.000+0000 |
Description
Just thought I'd let you know that in Titanium Developer 1.2.2 I am now getting the following errors when I launch an app in the iOS 4.2 simulator:
[INFO] One moment, building ...
[INFO] Detected third-party module: jp.masuidrive.ti.admob/0.1
[INFO] Titanium SDK version: 1.5.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 4.2
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1040, in main
cleanup_app_logfiles()
File "/Library/Application Support/Titanium/mobilesdk/osx/1.5.1/iphone/builder.py", line 1038, in cleanup_app_logfiles
os.remove(i)
OSError: [Errno 2] No such file or directory: 'bad path 2F119901-0000-0000-0000-006B00000000'
If I click Launch again it works fine. Seems to be that every other 'launch' works.
I also get this in 1.6.0 with iOS 4.2 and Developer 1.2.2
http://developer.appcelerator.com/question/131296/crash-every-2nd-time-i-launch
PR pending https://github.com/appcelerator/titanium_mobile/pull/2866
I'm experiencing this with 2.1.3RC
Michael, If you are willing to hack up your iphone/builder.py file the fix is really simple, two back slashes to escape spaces in paths: https://github.com/appcelerator/titanium_mobile/pull/2866/files
Closing ticket as fixed.