{ "id": "63337", "key": "TIMOB-2705", "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": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-07-02T05:58:14.000+0000", "created": "2011-04-15T03:27:30.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "generate", "ios", "iphone" ], "versions": [], "issuelinks": [ { "id": "19364", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "94532", "key": "TIMOB-9901", "fields": { "summary": "TiAPI: Review and clean up platform bugs and reduce bug count by 20%.", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "subtask": false } } } } ], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-07-02T05:58:24.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": "{html}

If the (case-sensitive) string \"Titanium\" appears is used in a\nproject name, the Xcode project files (*.pbxproj) get mangled and\ncan't be built from the Titanium Developer GUI.

\n

I can reproduce this reliably with the following versions:
\nTitanium Developer 1.2.2
\nTitanium Mobile SDK 1.1.0
\nMac OS X 10.6.5
\nXcode 3.2.3

\n

Details for reproducing:

\n

When I create a new Mobile project from Titanium Developer,\ncalled \"Hello Titanium\", building the app throws an error because\nthe named Xcode target doesn't exist. (I found that in\nbuild/iphone/build/build.log)

\n

$ xcodebuild -list

\n
\nInformation about project \"Hello Titanium\":\nTargets:\n    Hello HelloTitanium (Active)\n    Hello HelloTitanium-iPad\n\nBuild Configurations:\n    Debug (Active)\n    Release\n\nIf no build configuration is specified \"Release\" is used.\n
\n

These cases also fail:

\n\n

But these cases are just fine:

\n
{html}", "attachment": [], "flagged": false, "summary": "App names containing \"Titanium\" break the iPhone build", "creator": { "name": "rjhunter", "key": "rjhunter", "displayName": "RJHunter", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "rjhunter", "key": "rjhunter", "displayName": "RJHunter", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 649, "state": "closed", "name": "2016 Sprint 13 SDK", "startDate": "2016-06-18T00:25:17.303Z", "endDate": "2016-07-02T00:25:00.000Z", "completeDate": "2016-07-04T04:25:16.889Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "209872", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Know for a fact this is a dupe of a bug I fixed but can't find the number.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-07-26T14:30:09.000+0000", "updated": "2012-07-26T14:30:09.000+0000" }, { "id": "261615", "author": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Reopening the issue as App names containing \"Titanium\" still break the iPhone build.\r\n\r\nVerified with:\r\n\r\nTitanium Studio:3.1.2.201307091843\r\nTitanium SDK: 3.1.2.v20130710144553\r\nacs:1.0.3\r\nalloy:1.1.3\r\nnpm:1.2.14\r\ntitanium:3.1.1\r\ntitanium-code-processor:1.0.1\r\nOS: OSX 10.8\r\nDevice:iPhone simulator(v 6.0), Galaxy Nexus (v 4.0.4)\r\nXcode: 4.5.1\r\n\r\nApp names containing \"Titanium\" still break the iPhone build.\r\nCases fails:\r\n\"HelloTitanium\">Fails\r\n\"HelloTitaniumHello\"> Fails\r\n\r\nCases working fine:\r\n \"Titanium\" > works fine.\r\n \"titanium\" > works fine.\r\n \"hellotitaniumhello\"> again works fine.\r\n\r\n but the ios build breaks when project created with name \"HelloTitanium\" or \"HelloTitaniumHello\"\r\n\r\nGetting error as \r\n[ERROR] : xcodebuild: error: The project 'HelloTitanium.xcodeproj' does not contain a target named 'HelloTitanium-universal' for building HelloTitanium project.\r\n\r\n[ERROR] : xcodebuild: error: The project 'HelloTitaniumHello.xcodeproj' does not contain a target named 'HelloTitaniumHello-universal'for building HelloTitaniumHello project.\r\n\r\nAlso viewing \r\n$ xcodebuild -list of \"HelloTitanium\" named project gets the below mentioned info:\r\n\r\nInformation about project \"HelloTitanium\":\r\n Targets:\r\n HelloHelloTitanium\r\n HelloHelloTitanium-iPad\r\n HelloHelloTitanium-universal\r\n\r\n Build Configurations:\r\n Debug\r\n Developer\r\n Release\r\n\r\n If no build configuration is specified and -scheme is not passed then \"Release\" is used.\r\n\r\n\r\n$ xcodebuild -list of \"HelloTitaniumHello\" named project gets the below mentioned info:\r\n\r\nInformation about project \"HelloTitaniumHello\":\r\n Targets:\r\n HelloHelloTitaniumHelloHello\r\n HelloHelloTitaniumHelloHello-iPad\r\n HelloHelloTitaniumHelloHello-universal\r\n\r\n Build Configurations:\r\n Debug\r\n Developer\r\n Release\r\n\r\n If no build configuration is specified and -scheme is not passed then \"Release\" is used.\r\n\r\n", "updateAuthor": { "name": "pagarwal", "key": "pagarwal", "displayName": "Priya Agarwal", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-07-12T10:09:29.000+0000", "updated": "2013-07-12T10:11:02.000+0000" }, { "id": "389822", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Example apps with \"HelloTitanium\" etc. are not crashing in latest SDK's. Resolving as fixed.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-02T05:58:15.000+0000", "updated": "2016-07-02T05:58:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }