{ "id": "171979", "key": "TIMOB-26245", "fields": { "issuetype": { "id": "7", "description": "gh.issue.story.desc", "name": "Story", "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": null, "resolutiondate": null, "created": "2018-07-27T21:39:12.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2019-10-22T13:23:33.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "If the Titanium developer targets iOS 11+, we can remove the 32-bit architectures for all builds, because iOS 11+ does not run on these devices anymore. There is a related discussion over at [CocoaPods|https://github.com/CocoaPods/CocoaPods/issues/7148] about it.", "attachment": [], "flagged": false, "summary": "iOS: Exclude 32-Bit architectures for iOS 11+ targets", "creator": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "comment": { "comments": [ { "id": "439571", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~cbarber] Do you know which parts we should touch for this?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2018-07-27T21:39:43.000+0000", "updated": "2018-07-27T21:39:43.000+0000" }, { "id": "440592", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "I believe this is implicitly handled these days in the Xcode project settings.\r\n\r\nLong time ago, we used to explicitly list the architectures we were building for: https://github.com/appcelerator/titanium_mobile/blob/3_3_X/iphone/cli/commands/_build.js#L2505. I believe I removed it around the time time I added watchOS support.\r\n\r\nI believe the problem is in order to not build for i386, we'd need to explicitly tell xcodebuild what to build for and whatever is selected is inherited when it builds watchOS apps and since those run on devices with different architectures, it won't work.\r\n\r\nSo, you can try setting the {{ARCHS}}, but maybe you need to do {{VALID_ARCHS}}, but you'd probably also need to set {{ONLY_ACTIVE_ARCH}} to {{NO}}.\r\n\r\nI also believe I say \"I believe\" too much.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2018-08-08T18:40:48.000+0000", "updated": "2018-08-08T18:40:48.000+0000" }, { "id": "452192", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Note: for iOS Simulator builds, the iOS build sets {{ONLY_ACTIVE_ARCH=1}}. However in Titanium SDK >=8.2.1, the iOS build will pick an arbitrary iOS simulator for the {{xcodebuild}} destination so long as the device type family matches. We have to specify a destination so Xcode correctly builds apps containing watch apps. If the selected device type is not 64-bit, such as an iPhone 5 or iPad Retina, then {{ONLY_ACTIVE_ARCH}} is not set and will build for all architectures.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2019-10-22T13:23:15.000+0000", "updated": "2019-10-22T13:23:15.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }