Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-7436] iOS: Build: After compiling KS to device, compiling to iPhone Simulator without cleaning causes an error

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-02-09T21:43:07.000+0000
Affected Version/sRelease 1.8.1
Fix Version/sSprint 2012-02, Release 2.0.0, Release 1.8.1
ComponentsiOS
Labelsqe-ios012312, regression
ReporterNatalie Huynh
AssigneeStephen Tramer
Created2012-01-26T16:32:25.000+0000
Updated2012-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

Comments

  1. Stephen Tramer 2012-01-26

    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.
  2. Max Stepanov 2012-01-27

    Run into another issue following the same steps (compile for device then compile for sim):
       [INFO] One moment, building ...
       [INFO] Titanium SDK version: 1.8.1 (01/27/12 10:05 mmit d8e0b4b)
       [INFO] iPhone Device family: universal
       [INFO] iPhone SDK version: 5.0
       [INFO] iPhone simulated device: iphone
       [INFO] Detected compiler plugin: ti.log/0.1
       [INFO] Compiler plugin loaded and working for ios
       [INFO] Compiling localization files
       [INFO] Detected custom font: comic_zine_ot.otf
       [ERROR] xcodebuild: error: The project 'KitchenSink.xcodeproj' does not contain a target named 'Kitchen Sink-universal'.
       [ERROR] 
       [ERROR] Error: Traceback (most recent call last):
       
       
    Compiling for simulator works after Clean. KS project was just imported from Samples view. Same for KS-iPad:
       [INFO] One moment, building ...
       [INFO] Titanium SDK version: 1.8.1 (01/27/12 10:05 mmit d8e0b4b)
       [INFO] iPhone Device family: ipad
       [INFO] iPhone SDK version: 5.0
       [INFO] iPhone simulated device: ipad
       [ERROR] xcodebuild: error: The project 'KitchenSink-iPad.xcodeproj' does not contain a target named 'Kitchen Sink iPad-iPad'.
       [ERROR] 
       [ERROR] Error: Traceback (most recent call last):
       
       
    EDIT: this bug was reported as TISTUD-1095
  3. Natalie Huynh 2012-01-27

    Tested with Mac 10.6.8 with sdk: 1.8.1.v20120127113107 studio: 1.0.8.201201262211

JSON Source