[TIMOB-3351] Install Error with Titanium Mobile 1.6.1 and iPad App
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-16T12:15:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | unicode |
Reporter | netspy |
Assignee | Neeraj Gupta |
Created | 2011-04-15T03:42:46.000+0000 |
Updated | 2012-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
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.
same problem with any other version ov SDK
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...
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
Have the same problem, have only normal file names. Have also tried deleting the build, no success. Any help much appreciated.
Has anybody got a solution for this as I am getting quite frustrated. I want to get things going!
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.
Invalidating due to age (Xcode 3, SDK 1.6.1)