{ "id": "88295", "key": "TIMOB-8126", "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": [], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2012-03-20T15:39:55.000+0000", "created": "2012-03-20T15:18:51.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "12593", "name": "Release 2.0.0", "archived": false, "released": true, "releaseDate": "2012-03-30" } ], "issuelinks": [ { "id": "15851", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "88229", "key": "TIMOB-8099", "fields": { "summary": "module.xcconfig file is not processed", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-09T21:31:40.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": "h4. Problem Description\r\nWhen you add a module into a program (let's say tibar), you won't be able to compile the app.\r\n\r\nh4. Actual result\r\n[INFO] One moment, building ...\r\n[INFO] Detected third-party module: ti.barcode/1.7\r\n[INFO] Detected third-party module: ti.barcode/1.7\r\n[INFO] Titanium SDK version: 2.0.0 (03/20/12 13:32 370428c)\r\n[INFO] iPhone Device family: universal\r\n[INFO] iPhone SDK version: 5.0\r\n[INFO] iPhone simulated device: iphone\r\n[INFO] Performing full rebuild. This will take a little bit. Hold tight...\r\n[INFO] Performing clean build\r\n[ERROR] clang: error: linker command failed with exit code 1 (use -v to see invocation)\r\n[ERROR] \r\n[ERROR] Error: Traceback (most recent call last):\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320133259/iphone/builder.py\", line 1318, 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 \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320133259/iphone/builder.py\", line 1224, in execute_xcode\r\n output = run.run(args,False,False,o)\r\n File \"/Library/Application Support/Titanium/mobilesdk/osx/2.0.0.v20120320133259/iphone/run.py\", line 41, in run\r\n sys.exit(rc)\r\nSystemExit: 65\r\n\r\nh4. Expected Result\r\nThe system compiling the app properly.\r\n\r\nh4. Test Case\r\n1. Add a new mobile Project\r\n2. Add a module, like tibar (remember to add it to the tiapp.xml). \r\n3. Add this code:\r\n{code}\r\nvar Barcode = require('ti.barcode');\r\nBarcode.allowRotation = true;\r\nBarcode.displayedMessage = '';\r\nBarcode.useLED = true;\r\n{code}\r\n4. Compile\r\n\r\nh4. Extra info\r\nThe app compiles just fine without modules. \r\n", "attachment": [ { "id": "26386", "filename": "build.log", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-03-20T15:31:23.000+0000", "size": 990033, "mimeType": "text/plain" } ], "flagged": false, "summary": "iOS: Latest build can't add modules (compilation will fail)", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 2.0.0 (03/20/12 13:32 370428c) \r\nPlatform & version: iOS 5.0\r\nDevice Details: iOS simulator \r\nHost Operating System: OSX Lion\r\nTitanium Studio version: 1.0.9", "comment": { "comments": [ { "id": "187539", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Any bug report which includes a build failure must also include the build log contained within {{build/iphone/build/build.log}} or else we can't diagnose the problem correctly.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-20T15:29:09.000+0000", "updated": "2012-03-20T15:29:09.000+0000" }, { "id": "187540", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "body": "Build log added.", "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-03-20T15:31:23.000+0000", "updated": "2012-03-20T15:31:23.000+0000" }, { "id": "187544", "author": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "body": "Can you add the module.xcconfig file that is generated for the application? If it is empty then it probably is the same issue as TIMOB-8099.", "updateAuthor": { "name": "jenglish", "key": "jenglish", "displayName": "Jeff English", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-20T15:37:07.000+0000", "updated": "2012-03-20T15:37:07.000+0000" }, { "id": "187546", "author": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "updateAuthor": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "created": "2012-03-20T15:39:55.000+0000", "updated": "2012-03-20T15:39:55.000+0000" }, { "id": "187548", "author": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Confirmed that this is a dupe of TIMOB-8099.", "updateAuthor": { "name": "stephentramer", "key": "stephentramer", "displayName": "Stephen Tramer", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-20T15:42:36.000+0000", "updated": "2012-03-20T15:42:36.000+0000" }, { "id": "410600", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as duplicate.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T21:31:40.000+0000", "updated": "2017-03-09T21:31:40.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }