{ "id": "123509", "key": "TIMOB-15934", "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": [ { "id": "15715", "description": "2013 Sprint 25", "name": "2013 Sprint 25", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "15717", "description": "2013 Sprint 25 Core", "name": "2013 Sprint 25 Core", "archived": true, "released": true, "releaseDate": "2013-12-13" }, { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" }, { "id": "15422", "description": "Release 3.3.0", "name": "Release 3.3.0", "archived": false, "released": true, "releaseDate": "2014-07-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2013-12-10T01:23:02.000+0000", "created": "2013-12-10T00:28:00.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [], "versions": [ { "id": "14982", "description": "Release 3.2.0", "name": "Release 3.2.0", "archived": false, "released": true, "releaseDate": "2013-12-19" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2013-12-10T10:07:50.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": "13103", "name": "CLI", "description": "Node-based command line interface" } ], "description": "When building an iOS app for device, then opening the generated Xcode project and trying to build, you get the following error:\r\n\r\n{code}\r\nTypeError: Cannot read property 'UIBackgroundModes' of undefined\r\n at iOSBuilder.processTiSymbols (/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/iphone/cli/commands/_build.js:3035:34)\r\n at /Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/node_modules/node-appc/node_modules/async/lib/async.js:548:21\r\n at /Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/node_modules/node-appc/node_modules/async/lib/async.js:224:13\r\n at iterate (/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/node_modules/node-appc/node_modules/async/lib/async.js:131:13)\r\n at /Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/node_modules/node-appc/node_modules/async/lib/async.js:142:25\r\n at /Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/node_modules/node-appc/node_modules/async/lib/async.js:226:17\r\n at /Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/node_modules/node-appc/node_modules/async/lib/async.js:553:34\r\n at /Users/chris/appc/titanium/lib/hook.js:214:18\r\n at /Users/chris/appc/titanium/node_modules/async/lib/async.js:229:13\r\n at async.eachSeries (/Users/chris/appc/titanium/node_modules/async/lib/async.js:127:20)\r\n---------------------------------------------\r\n at iOSBuilder. (/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/iphone/cli/commands/_build.js:2919:15)\r\n at async.whilst (/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/node_modules/async/lib/async.js:616:13)\r\n at iOSBuilder. (/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/3.2.0/iphone/cli/commands/_build.js:2898:13)\r\n at /Users/chris/appc/titanium/lib/hook.js:221:13\r\n at /Users/chris/appc/titanium/node_modules/async/lib/async.js:229:13\r\n at async.eachSeries (/Users/chris/appc/titanium/node_modules/async/lib/async.js:127:20)\r\n at _asyncMap (/Users/chris/appc/titanium/node_modules/async/lib/async.js:223:9)\r\n at Object.mapSeries (/Users/chris/appc/titanium/node_modules/async/lib/async.js:213:23)\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: Xcode builds fail when building for iOS device", "creator": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "subtasks": [], "reporter": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "environment": "Xcode 5.0.2\r\nMac OS X 10.8.5 (Mountain Lion)\r\nTitanium SDK 3.2.X", "comment": { "comments": [ { "id": "283365", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Titanium SDK master pull request: https://github.com/appcelerator/titanium_mobile/pull/5104\nTitanium SDK 3.2.x pull request: https://github.com/appcelerator/titanium_mobile/pull/5105\n\nTo test:\n1) create an ios project\n2) do a device build\n3) open the generated xcode project in xcode\n4) run the app for device", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2013-12-10T00:56:01.000+0000", "updated": "2013-12-10T00:56:01.000+0000" }, { "id": "283525", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the issue with tested Environment:\r\n\r\nAppcelerator Studio: 3.2.0.201312091648\r\nSDK:3.2.0.v20131209192649\r\nalloy: 1.3.0-cr\r\nacs: 1.0.10\r\nnpm: 1.3.2\r\ntitanium: 3.2.0-cr\r\ntitanium-code-processor: 1.1.0-cr\r\nXcode:5.0.2\r\nOS: Mac OSX 10.9\r\nDevice: iPad3(v7.0), iPhone5S(v7.0.2)\r\n\r\nxcodeProject running fine on both simulators as well as devices from Xcode 5.0.2", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-12-10T10:07:50.000+0000", "updated": "2013-12-10T10:07:50.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }