{ "id": "141340", "key": "TIMOB-18168", "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": "16997", "name": "Release 5.2.0", "archived": false, "released": true, "releaseDate": "2016-02-23" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-13T05:32:45.000+0000", "created": "2014-12-09T22:27:38.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "qe-3.5.0", "qe-nfc" ], "versions": [ { "id": "16704", "description": "Release 3.5.0", "name": "Release 3.5.0", "archived": false, "released": true, "releaseDate": "2015-01-13" } ], "issuelinks": [ { "id": "44014", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "outwardIssue": { "id": "141435", "key": "TIMOB-18176", "fields": { "summary": "CLI: Fail app build if target architectures do not exist in the manifest of every module", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "49691", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "150555", "key": "TIMOB-19386", "fields": { "summary": "iOS9: Upgrade coremotion module to support bitcode, rewrite code base", "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": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "43990", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "141345", "key": "TIMOB-18169", "fields": { "summary": "iOS: Module - Cannot find some 32-bit modules if you launch an ad hoc packaged app", "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": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-02-21T20:14:56.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": "*Details:* If you try to build a project with both 32-bit modules urlSession and coremotion with SDK 3.5.0, then you will get build failures.\r\n\r\n*Note:* Was not able to reproduce this issue with the following 32-bit modules:\r\n||module||version||\r\n|com.appcelerator.apm|1.0.10|\r\n|facebook|3.1.1|\r\n|ti.geofence|1.1.2|\r\n|ti.map|2.0.6|\r\n|ti.touchid|1.0.1|\r\n\r\n*Steps to reproduce:*\r\n1. Create a Titanium project \r\n2. Include both com.appcelerator.urlSession (1.0.1) and ti.coremotion (1.0.1) modules in the tiapp.xml; do not need to require them into your app.js\r\n\r\n3. Install app to device\r\n*Actual:* On first build failure, you will get this urlSession build error:\r\n{code}\r\n[ERROR] : Error Command failed: fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: fat input file (/Users/wluu/Library/Application Support/Titanium/modules/iphone/com.appcelerator.urlSession/1.0.1/libcom.appcelerator.urlsession.a) does not contain the specified architecture (x86_64) to thin it to\r\n at exithandler (child_process.js:648:15)\r\n at ChildProcess.emit (events.js:98:17)\r\n at maybeClose (child_process.js:756:16)\r\n at Socket. (child_process.js:969:11)\r\n at Socket.emit (events.js:95:17)\r\n at Pipe.close (net.js:465:12)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:702:9)\r\n at exports.exec (child_process.js:589:18)\r\n at processNextCommand (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.v20141208122514/iphone/cli/hooks/hyperloop.js:119:7)\r\n at exithandler (child_process.js:646:7)\r\n at ChildProcess.emit (events.js:98:17)\r\n at maybeClose (child_process.js:756:16)\r\n at Socket. (child_process.js:969:11)\r\n{code}\r\n\r\n4. Use change the urlSession version module to latest (1.1.0)\r\n\r\n5. Save changes and install to device\r\n*Actual:* On second build failure, you will get this coremotion build error:\r\n{code}\r\n[ERROR] : Error Command failed: fatal error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lipo: fat input file (/Users/wluu/Library/Application Support/Titanium/modules/iphone/ti.coremotion/1.0.1/libti.coremotion.a) does not contain the specified architecture (x86_64) to thin it to\r\n at exithandler (child_process.js:648:15)\r\n at ChildProcess.emit (events.js:98:17)\r\n at maybeClose (child_process.js:756:16)\r\n at Socket. (child_process.js:969:11)\r\n at Socket.emit (events.js:95:17)\r\n at Pipe.close (net.js:465:12)\r\n---------------------------------------------\r\n at exports.execFile (child_process.js:702:9)\r\n at exports.exec (child_process.js:589:18)\r\n at processNextCommand (/Users/wluu/Library/Application Support/Titanium/mobilesdk/osx/3.5.0.v20141208122514/iphone/cli/hooks/hyperloop.js:119:7)\r\n at exithandler (child_process.js:646:7)\r\n at ChildProcess.emit (events.js:98:17)\r\n at maybeClose (child_process.js:756:16)\r\n at Socket. (child_process.js:969:11)\r\n{code}\r\n\r\n*Expected:* Should fail gracefully with warning indicating to the user that they should use the latest modules or build fine like the other specified 32-bit modules.", "attachment": [], "flagged": false, "summary": "iOS: Module - Cannot build 32-bit module urlSession and coremotion with SDK 3.5.0 ", "creator": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Appcelerator Studio, build: 3.4.1.201410281743\r\nSDK build: 3.5.0.v20141208122514 \r\nCLI: 3.4.1\r\nAlloy: 1.5.1\r\nXcode: 6.1.1 GM \r\nurlSession: 1.0.1 (32-bit)\r\ncoremotion: 1.0.1 (32-bit)", "closedSprints": [ { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "335842", "author": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Should I read this ticket as \"make the build failure more obvious\"?", "updateAuthor": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-10T18:53:08.000+0000", "updated": "2014-12-10T18:53:08.000+0000" }, { "id": "335850", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Only if that is the expected behavior because the other 32-bit modules are able to build fine together.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2014-12-10T19:15:06.000+0000", "updated": "2014-12-10T19:15:06.000+0000" }, { "id": "335901", "author": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Created ticket for CLI to fail build with a list of modules and the architectures they are missing. TIMOB-18176", "updateAuthor": { "name": "jalter", "key": "jalter", "displayName": "Jon Alter", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2014-12-10T23:31:08.000+0000", "updated": "2014-12-10T23:31:08.000+0000" }, { "id": "336154", "author": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "body": "[~jalter] Why can’t this be resolved using the same sort of technique I proposed for TIMOB-18176? (I get hyperloop errors when attempting to compile the coremotion module. And unlike our other module repos, neither urlsession nor coremotion includes a dist folder with compiled versions. So I can't test this directly myself.) But the plug-in check I wrote would run before the build gets to the stage throwing the errors shown above. ", "updateAuthor": { "name": "skypanther", "key": "skypanther", "displayName": "Tim Poulsen", "active": true, "timeZone": "America/New_York" }, "created": "2014-12-12T16:39:25.000+0000", "updated": "2014-12-12T16:39:25.000+0000" }, { "id": "370179", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed in TIMOB-19386 and MOD-2150 as part of the module refactoring.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-13T05:32:45.000+0000", "updated": "2015-11-13T05:32:45.000+0000" }, { "id": "377468", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified fixed, using:\r\n\r\nMacOS 10.11.3 (15D21)\r\nStudio 4.5.0.201602170821\r\nTi SDK 5.2.0.v20160220080449\r\nAppc NPM 4.2.3-2\r\nAppc CLI 5.2.0-269\r\nAlloy 1.7.33\r\nXcode 7.2 (7C68)\r\n\r\nAPM 1.1.5\r\nURLSession 2.0.0\r\nFacebook 5.0.1\r\nti.coremotion 2.0.0\r\nti.map 2.5.2\r\nti.safaridialog 1.0.5\r\nti.touchid 1.2.0\r\n\r\nProject including the above modules successfully builds, without issue.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-02-21T20:14:56.000+0000", "updated": "2016-02-21T20:14:56.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }