{ "id": "149960", "key": "TIMOB-19274", "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": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-07-30T17:02:56.000+0000", "created": "2015-07-28T23:47:16.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "qe-5.0.0", "regression" ], "versions": [ { "id": "16925", "description": "WatchKit Support--all going into 5.0 now", "name": "Release 5.0.0", "archived": true, "released": true, "releaseDate": "2015-09-16" } ], "issuelinks": [ { "id": "48488", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "141527", "key": "TIMOB-18193", "fields": { "summary": "iOS: 64-bit Platform reports wrong value for iOS", "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 } } } } ], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2015-07-30T17:17:26.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 to device the app appears to always be 32-bit. Using the code below and {{xcrun lipo -info }} show that there is not 64bit slice when building for device.\r\n\r\n*Note*\r\n\r\nWhen packaging the 64-bit slice is present, as the app passes Xcode validation and xrcun shows that there is a 64-bit slice.\r\nThis is a *regression* from 4.1.0.GA\r\n\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'blue'\r\n});\r\nwin.open();\r\nwin.addEventListener('click', function(e) {\r\n console.log('ostype: ' + Ti.Platform.ostype);\r\n console.log('architecture: ' + Ti.Platform.architecture);\r\n});\r\n{code}\r\n\r\nh5.Steps to reproduce\r\n\r\n1. Add the above code to a project\r\n2. Build the app to a 64-bit device\r\n3. Tap the screen\r\n\r\nh5.Actual result\r\n\r\nThe below is printed out\r\n\r\n{code}\r\n[INFO] ostype: 32bit\r\n[INFO] architecture: armv7\r\n{code}\r\n\r\nh5.Expected result\r\n\r\nThe below should be printed out\r\n\r\n{code}\r\n[INFO] ostype: 64bit\r\n[INFO] architecture: arm64\r\n{code}", "attachment": [], "flagged": false, "summary": "CLI: When building for iOS device the app will always be 32-bit", "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": "Appc CLI (Core): 4.2.0-1\r\nTi SDK: 4.2.0.v20150728143620", "closedSprints": [ { "id": 445, "state": "closed", "name": "2015 Sprint 15 SDK", "startDate": "2015-07-18T00:30:28.848Z", "endDate": "2015-08-01T00:30:00.000Z", "completeDate": "2015-08-03T01:49:18.234Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "358469", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Fix is the same as the attached ticket the following needs to be added to [these args|https://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L2240] {{ONLY_ACTIVE_ARCH: 'NO',}}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-29T00:16:22.000+0000", "updated": "2015-07-29T00:16:22.000+0000" }, { "id": "358473", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "PR here: https://github.com/appcelerator/titanium_mobile/pull/6990", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-29T01:45:49.000+0000", "updated": "2015-07-29T01:45:49.000+0000" }, { "id": "358560", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Verified using:\r\n\r\nAppc CLI (Core): 4.2.0-1\r\nTi SDK: 4.2.0.v20150729134419\r\niPhone 6 8.2\r\n\r\nUsing the attached code when building to a 64-bit device the logging now reports as 64-bit and when running xcrun lipo -info it now reports that there is a 64-bit slice \r\n\r\nClosing ticket", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2015-07-29T23:10:35.000+0000", "updated": "2015-07-29T23:10:35.000+0000" }, { "id": "358599", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Reopening issue to fix Affect Versions field.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-07-30T17:02:43.000+0000", "updated": "2015-07-30T17:02:43.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }