[TIMOB-7436] iOS: Build: After compiling KS to device, compiling to iPhone Simulator without cleaning causes an error
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-09T21:43:07.000+0000 |
Affected Version/s | Release 1.8.1 |
Fix Version/s | Sprint 2012-02, Release 2.0.0, Release 1.8.1 |
Components | iOS |
Labels | qe-ios012312, regression |
Reporter | Natalie Huynh |
Assignee | Stephen Tramer |
Created | 2012-01-26T16:32:25.000+0000 |
Updated | 2012-02-09T21:43:07.000+0000 |
Description
Steps To Reproduce:
1. Compile KS to device
2. Without cleaning or making any changes compile to iPhone Simulator
Actual:
[ERROR] Error: Traceback (most recent call last):
File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.1.v20120126144634/iphone/builder.py", line 1123, in main
shutil.copy(f,app_dir)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 88, in copy
copyfile(src, dst)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/shutil.py", line 47, in copyfile
raise Error, "
%s
and %s
are the same file" % (src, dst)
Error: /Volumes/Data/Titanium/titanium_mobile/demos/KitchenSink/Resources/comic_zine_ot.otf
and /Volumes/Data/Titanium/titanium_mobile/demos/KitchenSink/build/iphone/build/Debug-iphonesimulator/KitchenSink.app/comic_zine_ot.otf
are the same file
Expected:
To compile without error
Works with 1.8.0.1
TESTING
---- 1. Follow the steps above (to ensure that KS runs) 2. Go to Base UI->Custom Fonts and make sure that the correct font displays. Do this on *both* simulator and device.Run into another issue following the same steps (compile for device then compile for sim):
Compiling for simulator works after Clean. KS project was just imported from Samples view. Same for KS-iPad:
EDIT: this bug was reported as TISTUD-1095
Tested with Mac 10.6.8 with sdk: 1.8.1.v20120127113107 studio: 1.0.8.201201262211