{ "id": "101936", "key": "AC-1854", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2012-09-27T16:38:08.000+0000", "created": "2012-09-25T13:06:02.000+0000", "labels": [ "ios", "xcode" ], "versions": [], "issuelinks": [], "assignee": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updated": "2016-03-08T07:40:46.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": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "When doing a clean build, an error is encountered at line 627 of TiApp.mm for iOS 5.1\r\n\r\nThis works fine for iOS6 however. \r\n\r\nIssue can be fixed for iOS 5.1 by changing \r\n- (NSUInteger)application:(UIApplication *).... \r\nto \r\n- (NSObject*)application:(UIApplication *)....\r\n\r\non line 625\r\n\r\nOnce changed, it doesn't compile for iOS6.\r\n\r\nSo one has to switch when switching between iOS versions.", "attachment": [], "flagged": false, "summary": "Compiling for iOS5.1", "creator": { "name": "dezinezync", "key": "dezinezync", "displayName": "Nikhil N", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "dezinezync", "key": "dezinezync", "displayName": "Nikhil N", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iOS5.1 and iOS6, TiSDK 2.1.3.v20120921190208", "comment": { "comments": [ { "id": "221152", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hmm, need some more info... What error is it? Can you post your build log? I doubt I'd be able to reproduce this, so could you try compiling against the latest 2.1.3 and 3.0.0 (master) builds? http://builds.appcelerator.com.s3.amazonaws.com/index.html\n\nYou can drop them into ~/Library/Application Support/Titanium/mobilesdk/osx\n\nThanks.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-26T23:23:13.000+0000", "updated": "2012-09-26T23:23:13.000+0000" }, { "id": "221186", "author": { "name": "dezinezync", "key": "dezinezync", "displayName": "Nikhil N", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is the error from the build log: \r\n\r\n[ERROR] /Users/dezinezync/Sites/Timesense/build/iphone/Classes/TiApp.mm:627:12: error: cannot initialize return object of type 'NSUInteger' (aka 'unsigned int') with an rvalue of type 'id'\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Users/dezinezync/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.v20120921190208/iphone/builder.py\" line 1467 in main\r\n execute_xcode(\"iphoneos%s\" % iphone_version args False)\r\n File \"/Users/dezinezync/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.v20120921190208/iphone/builder.py\" line 1221 in execute_xcode\r\n output = run.run(args False False o)\r\n File \"/Users/dezinezync/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.v20120921190208/iphone/run.py\" line 41 in run\r\n sys.exit(rc)\r\nSystemExit: 65", "updateAuthor": { "name": "dezinezync", "key": "dezinezync", "displayName": "Nikhil N", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T08:30:45.000+0000", "updated": "2012-09-27T08:31:02.000+0000" }, { "id": "221212", "author": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "body": "I've reproduced the bug using your TiSDK: 2.1.3.v20120921190208. I tested it with the latest 2.1.3 build (v20120926141610) and the error no longer occurs.", "updateAuthor": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-09-27T16:38:08.000+0000", "updated": "2012-09-27T16:38:08.000+0000" }, { "id": "280663", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Closing per Daniel's comment. ", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2013-11-22T00:20:59.000+0000", "updated": "2013-11-22T00:20:59.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }