{ "id": "162515", "key": "TIMOB-23756", "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": "18253", "name": "Release 5.5.0", "archived": false, "released": true, "releaseDate": "2016-09-13" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-08-15T04:51:18.000+0000", "created": "2016-08-10T18:32:45.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-5.4.0" ], "versions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2016-08-16T20:49:51.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" }, { "id": "10207", "name": "Tooling" } ], "description": "If the project name is the same as a file in the built app ({{build/Products/Debug-/.app}}), then the build will fail.\r\n\r\n*Steps to reproduce issue*\r\n1. Create a new project with a name that matches a file in the built app (see below for a list of failing names)\r\n2. Run the project on an iOS device (simulators fail for some names, but device is more restrictive)\r\n\r\n*Actual results*\r\nThe build fails with the below error(s)\r\n\r\n*Expected results*\r\nThe build succeeds or you are notified that the name is invalid on creation/build\r\n\r\n*Notes*\r\nThe names I have found that fail are:\r\nFrameworks, Assets.car, Info.plist, modules, PkgInfo, _CodeSignature, LaunchScreen.storyboardc, hyperloop (if hyperloop is enabled/referenced in the project)\r\n\r\nIf the project name matches a folder in the build app then you will have the executable of that name, but not the folder.\r\n\r\n*Errors*\r\nOne of the below is seen on failure:\r\n{code}\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] GenerateDSYMFile build/Products/Debug-iphoneos/LaunchScreen.storyboardc.app.dSYM build/Products/Debug-iphoneos/LaunchScreen.storyboardc.app/LaunchScreen.storyboardc\r\n[ERROR] (1 failure)\r\n{code}\r\n\r\n{code}\r\n[ERROR] ** BUILD FAILED **\r\n[ERROR] The following build commands failed:\r\n[ERROR] CodeSign build/Products/Debug-iphoneos/_CodeSignature.app\r\n[ERROR] (1 failure)\r\n{code}\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: Build fails if project name matches file/folder in built app", "creator": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "MacOS 10.11.5 (15F31a)\r\nStudio 4.7.0.201607250649\r\nTi SDK 5.4.0.v20160809033140\r\nAppc NPM 4.2.7\r\nAppc CLI 5.4.0-40\r\nAlloy 1.9.1\r\nXcode 7.3.1 (7D1014)", "closedSprints": [ { "id": 686, "state": "closed", "name": "2016 Sprint 16 Tooling", "startDate": "2016-07-30T00:42:21.509Z", "endDate": "2016-08-13T00:42:00.000Z", "completeDate": "2016-08-15T08:01:39.795Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "392979", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/8209\r\n6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8210\r\n5_5_X PR: https://github.com/appcelerator/titanium_mobile/pull/8211", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-12T03:35:23.000+0000", "updated": "2016-08-12T03:35:23.000+0000" }, { "id": "393116", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PRs merged.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-15T04:50:59.000+0000", "updated": "2016-08-15T04:50:59.000+0000" }, { "id": "393322", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.12 (16A239m)\r\nStudio 4.7.0.201607250649\r\nTi SDK 5.5.0.v20160815165906\r\nAppc NPM 4.2.7\r\nAppc CLI 5.4.0\r\nAlloy 1.9.1\r\nXcode 8.0 (8S201h)\r\n\r\nBuilds now error out when building an app with a name from the built app, with the message:\r\n{code}\r\n[ERROR] The app name conflicts with a reserved file.\r\n[ERROR] You must change the name of the app in the tiapp.xml.\r\n{code}\r\nThis prevents the user from getting to the error from the ticket. Tested by creating and building projects with names from the 'failing' list, above.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-16T20:49:51.000+0000", "updated": "2016-08-16T20:49:51.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }