Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3351] Install Error with Titanium Mobile 1.6.1 and iPad App

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2012-07-16T12:15:48.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsunicode
Reporternetspy
AssigneeNeeraj Gupta
Created2011-04-15T03:42:46.000+0000
Updated2012-07-16T12:15:48.000+0000

Description

With Titanium Mobile 1.6.1, the "Run on device" command fails. With XCode 3 I get this error message:

Install Error
 
 /Users/…/App/build/iphone/Classes/ApplicationRouting.m:14: error: no type or storage class may be specified here before 'implementation'
[ERROR] 
[ERROR] Error: Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.1/iphone/builder.py", line 1238, in main
    execute_xcode("iphoneos%s" % iphone_version,args,False)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.1/iphone/builder.py", line 1012, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.1/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 1

And with XCode 4 this error:

Install Error
 
[ERROR] Error: Traceback (most recent call last):
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.1/iphone/builder.py", line 1238, in main
    execute_xcode("iphoneos%s" % iphone_version,args,False)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.1/iphone/builder.py", line 1012, in execute_xcode
    output = run.run(args,False,False,o)
  File "/Library/Application Support/Titanium/mobilesdk/osx/1.6.1/iphone/run.py", line 39, in run
    sys.exit(rc)
SystemExit: 65

build.log with Xcode 4 has this error line:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 96: ordinal not in range(128)
Command /bin/sh failed with exit code 1

Comments

  1. netspy 2011-04-15

    I found the problem. The UnicodeDecodeError results from some image files with non ascii characters in the file name. The app works fine in iOS simulator but could not build for the device.

  2. Anton 2011-04-15

    same problem with any other version ov SDK

  3. Anton 2011-04-15

    I've checked all the files. All my files have only ascii characters in names. Same problem in Xcode:
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: ordinal not in range(128)

    I use cirillic symbols in application, but as I understand it shouldn't be a problem.

    P.S: It works for simulator. The error appears when trying to build app for device...

  4. druguet michael 2011-04-15

    Hello Anton,
    have you find the problem ? If yes, can you give us the solution please, because i have the same problem and i only use ascii charcaters.
    Thanks a lot, Michael

  5. Gerald 2011-04-15

    Have the same problem, have only normal file names. Have also tried deleting the build, no success. Any help much appreciated.

  6. Gerald 2011-04-15

    Has anybody got a solution for this as I am getting quite frustrated. I want to get things going!

  7. netspy 2011-04-15

    I can't help and Appcelerator seems to be not interested in fixing bugs. After a month this bug is still "new" without any response of the Appcelerator stuff. :-(

    In my case, it was definitely files with non ASCII characters in the name but this is not the first unicode error and there could other sources for such errors.

  8. Stephen Tramer 2012-07-16

    Invalidating due to age (Xcode 3, SDK 1.6.1)

JSON Source