{ "id": "163945", "key": "TIMOB-24028", "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": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-10-13T14:28:41.000+0000", "created": "2016-10-13T11:23:39.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-6.0.0" ], "versions": [ { "id": "16980", "description": "New V8", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-15" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2016-10-13T16:24:39.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": "h5.Description\r\n\r\nWhen building a project for iOS device or simulator the build will fail with the following {{\\[ERROR\\] Invalid found in the tiapp.xml: undefined}}, this happens when building for device or simulator.\r\n\r\n*Workaround*\r\n\r\nAdd {{12345}} to the iOS section of your tiapp\r\n\r\nh5.Steps to reproduce\r\n\r\n# Create an app using {{appc new/ti create}}\r\n# Build the app for iOS using {{appc run -p ios/ti build -p ios}}\r\n\r\nh5.Actual result\r\n\r\nBuild errors out with the above\r\n\r\nh5.Expected result\r\n\r\nBuild should not error out", "attachment": [], "flagged": false, "summary": "iOS: Build errors out with Invalid found in the tiapp.xml: undefined", "creator": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "subtasks": [], "reporter": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "environment": "OS: Mac OS X 10.11.6\r\nAppc core: 6.0.0-58\r\nAppc NPM: 4.2.8-7\r\nTi SDK: 6.0.0.v20161013032040\r\nAppc Studio: 4.8.0.201609191928\r\nNode: 4.5.0\r\nNPM: 2.15.9", "comment": { "comments": [ { "id": "398828", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Ti SDK master PR: https://github.com/appcelerator/titanium_mobile/pull/8508\r\nTi SDK 6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8509", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-13T14:28:34.000+0000", "updated": "2016-10-13T14:28:34.000+0000" }, { "id": "398830", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "I am unable to reproduce this issue with the following components:\r\n\r\niPhone 7 (10.0) Simulator\r\nMac OS Sierra (10.12)\r\nTi SDK: 6.0.0.v20161013032040\r\nAppc Studio: 4.8.0.201610060953\r\nAppc NPM: 4.2.8-7\r\nApp CLI: 6.0.0-58\r\nXcode 8.0 \r\nNode v4.4.7\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-10-13T14:34:39.000+0000", "updated": "2016-10-13T14:34:39.000+0000" }, { "id": "398831", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "[~htbryant] Make sure you don't have a {{}} in the tiapp.xml. Since it's not there, it'll be undefined, and specifically not a number and thus the bug.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-10-13T14:37:44.000+0000", "updated": "2016-10-13T14:37:44.000+0000" }, { "id": "398832", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Ok, I can reproduce the issue. ", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-10-13T14:43:03.000+0000", "updated": "2016-10-13T14:43:03.000+0000" }, { "id": "398843", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, Error no longer occurs when not specifying in tiapp.xml.\r\n_- Tested on CLI with {{appc new}}_\r\n_- Tested in Studio_\r\n_-Tested with both iOS9/10 Simulators & Devices_\r\n\r\nTested On:\r\niPhone 6 Plus 10.0.2 Device & Simulator\r\niPhone 5S 9.3.5 Device & Simulator\r\nMac OS Sierra (10.12)\r\nTi SDK: 6.0.0.v20161013072802\r\nAppc Studio: 4.8.0.201610060953\r\nAppc NPM: 4.2.8-7\r\nApp CLI: 6.0.0-58\r\nXcode 8.0 \r\nNode v4.4.7\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-10-13T16:23:56.000+0000", "updated": "2016-10-13T16:23:56.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }