{ "id": "63983", "key": "TIMOB-3351", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-07-16T12:15:48.000+0000", "created": "2011-04-15T03:42:46.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "unicode" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2012-07-16T12:15:48.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}

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

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

And with XCode 4 this error:

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

build.log with Xcode 4 has this error line:

\n
\nUnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 96: ordinal not in range(128)\nCommand /bin/sh failed with exit code 1\n
{html}", "attachment": [], "flagged": false, "summary": "Install Error with Titanium Mobile 1.6.1 and iPad App", "creator": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "130592", "author": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:42:46.000+0000", "updated": "2011-04-15T03:42:46.000+0000" }, { "id": "130593", "author": { "name": "anton", "key": "anton", "displayName": "Anton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

same problem with any other version ov SDK

{html}", "updateAuthor": { "name": "anton", "key": "anton", "displayName": "Anton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:42:47.000+0000", "updated": "2011-04-15T03:42:47.000+0000" }, { "id": "130594", "author": { "name": "anton", "key": "anton", "displayName": "Anton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

\n

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

\n

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

{html}", "updateAuthor": { "name": "anton", "key": "anton", "displayName": "Anton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:42:47.000+0000", "updated": "2011-04-15T03:42:47.000+0000" }, { "id": "130595", "author": { "name": "druguetmichael", "key": "druguetmichael", "displayName": "druguet michael", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Hello Anton,
\nhave you find the problem ? If yes, can you give us the solution\nplease, because i have the same problem and i only use ascii\ncharcaters.
\nThanks a lot, Michael

{html}", "updateAuthor": { "name": "druguetmichael", "key": "druguetmichael", "displayName": "druguet michael", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:42:47.000+0000", "updated": "2011-04-15T03:42:47.000+0000" }, { "id": "130596", "author": { "name": "gerald", "key": "gerald", "displayName": "Gerald", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

Have the same problem, have only normal file names. Have also\ntried deleting the build, no success. Any help much\nappreciated.

{html}", "updateAuthor": { "name": "gerald", "key": "gerald", "displayName": "Gerald", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:42:47.000+0000", "updated": "2011-04-15T03:42:47.000+0000" }, { "id": "130597", "author": { "name": "gerald", "key": "gerald", "displayName": "Gerald", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

{html}", "updateAuthor": { "name": "gerald", "key": "gerald", "displayName": "Gerald", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:42:48.000+0000", "updated": "2011-04-15T03:42:48.000+0000" }, { "id": "130598", "author": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

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

\n

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

{html}", "updateAuthor": { "name": "netspy", "key": "netspy", "displayName": "netspy", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:42:48.000+0000", "updated": "2011-04-15T03:42:48.000+0000" }, { "id": "207781", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Invalidating due to age (Xcode 3, SDK 1.6.1)", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-16T12:15:48.000+0000", "updated": "2012-07-16T12:15:48.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }