{ "id": "101807", "key": "AC-2239", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-09-26T06:11:00.000+0000", "created": "2012-09-23T19:29:40.000+0000", "labels": [ "builder.py", "ios6", "xcode4.5" ], "versions": [], "issuelinks": [], "assignee": { "name": "dsefton", "key": "dsefton", "displayName": "Daniel Sefton", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-08T07:41:14.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": "I have been trying to publish an update to an old app. I initially built the update with Titanium 2.1.2, Xcode 4.3 and ios SDK 5.1.\r\n\r\nWhen I submitted the app I received feedback from Apple that the app crashed on IOS6. \r\n\r\nTo rectify that problem I installed Xcode 4.5 and the current build of Titanium 2.1.3. When I compiled and submitted the app it failed the automatic validation check giving the following message:\r\n\r\n\"iPhone/iPod Touch: application executable is missing a required architechture. At least one of the following architechture(s) must be present:armv6\"\r\n\r\nI looked at the Q&A and found a suggested modification to the info.plist file to sort that out. When I next submitted the app I then got another error from the automatic validation process:\r\n\r\n\"This bundle is invalid. The key UIRequiredDeviceCapabilities in the Info.plist may not contain values that would prevent this application from running on devices that were supported by previous versions.\"\r\n\r\nI then realised that ios 6 only supports armv7 so is no use for updating an existing app that has been published to armv6 devices.\r\n\r\nI have downloaded Xcode 4.3 and copied the ios 5.1 SDK to the my Xcode 4.5 installation and installed the iPhone 5.1 simulator.\r\n\r\nI then tried to build my app with Titanium 2.1.3 and ios SDK 5.1. The packaging failed with the following error in builder.py:\r\n\r\n~~~\r\n[ERROR] /Users/des/Apps/iLoyalty/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/des/Library/Application Support/Titanium/mobilesdk/osx/2.1.3.v20120921190208/iphone/builder.py\", line 1315, in main\r\n execute_xcode(\"iphonesimulator%s\" % link_version,[\"GCC_PREPROCESSOR_DEFINITIONS=__LOG__ID__=%s DEPLOYTYPE=development TI_DEVELOPMENT=1 DEBUG=1 TI_VERSION=%s %s %s\" % (log_id,sdk_version,debugstr,kroll_coverage)],False)\r\n File \"/Users/des/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/des/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\r\n~~~\r\n\r\nI appreciated that 2.1.3 is a work in progress at the moment, but supporting SDK 5.1 in order to maintain existing app will be necessary.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Cannot build app using Xcode 4.5 Titanium Mobile 2.1.3 and ios SDK 5.1", "creator": { "name": "deshuth", "key": "deshuth", "displayName": "Derrick Huth", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "deshuth", "key": "deshuth", "displayName": "Derrick Huth", "active": true, "timeZone": "Europe/London" }, "environment": "Mac OSX Lion\r\nTitanium Mobile SDK 2.1.3.20120921190208\r\nXcode 4.5\r\nIOS SDK 5.1", "comment": { "comments": [ { "id": "220317", "author": { "name": "deshuth", "key": "deshuth", "displayName": "Derrick Huth", "active": true, "timeZone": "Europe/London" }, "body": "I apologise, this can be closed as an erroroneously reported bug.\r\n\r\nI have resubmitted the app building with ios sdk6 and the min-ios-version 4.3 info.plist fix and the app has been accepted without problem.\r\n\r\nMany thanks\r\n\r\nDes", "updateAuthor": { "name": "deshuth", "key": "deshuth", "displayName": "Derrick Huth", "active": true, "timeZone": "Europe/London" }, "created": "2012-09-24T00:19:03.000+0000", "updated": "2012-09-24T00:19:03.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }