{ "id": "161820", "key": "TIMOB-23650", "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": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2016-08-15T05:01:47.000+0000", "created": "2016-07-18T07:44:42.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "updated": "2017-03-28T19:47:10.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" }, { "id": "10207", "name": "Tooling" } ], "description": "h4. Steps to reproduce\r\n*sudo xcode-select --switch /Applications/Xcode-beta.app*\r\n1. *appc new --classic*\r\n2. enter project\r\n3. *appc new -t applewatch*\r\n4. *appc run -p ios -I 10.0 --launch-watch-app -l trace*\r\n5. change content in app.js\r\n6. Repeat 4.\r\n\r\nh4. Expected result\r\napp builds and runs normally\r\n\r\nh4. Actual result\r\n{code}\r\n[ERROR] xcodebuild: error: Unable to find a destination matching the provided destination specifier:\r\n[ERROR] \t{ platform:iOS Simulator, id:507666A6-38FF-4972-9D8B-C11D9D20AD19, OS:10.0 }\r\n[ERROR] Ineligible destinations for the \"SGTestW\" scheme:\r\n[ERROR] \t{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Generic iOS Device }\r\n[ERROR] \t{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }\r\n{code}", "attachment": [], "flagged": false, "summary": "iOS10: Differential build fails on Xcode 8 using --launch-watch-app", "creator": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "environment": "Xcode 8 beta 2\r\nTi sdk master branch\r\nappc-cli 5.4.0-31\r\nappc npm 4.2.7", "closedSprints": [ { "id": 686, "state": "closed", "name": "2016 Sprint 16 Tooling", "startDate": "2016-07-30T00:42:21.509Z", "endDate": "2016-08-13T00:42:00.000Z", "completeDate": "2016-08-15T08:01:39.795Z", "originBoardId": 199 } ], "comment": { "comments": [ { "id": "390883", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Not sure if it matters but I did notice that it's removing build files for watchapp here:\r\nhttps://github.com/appcelerator/titanium_mobile/blob/master/iphone/cli/commands/_build.js#L5683\r\nIt unmarks the following product files:\r\n{code}\r\n/Users/kiat/titaniumTestWatch/SGTestW/build/iphone/build/Products/Debug-iphonesimulator/SGTestW.app\r\n/Users/kiat/titaniumTestWatch/SGTestW/build/iphone/build/Products/Debug-iphonesimulator/SGTestW WatchKit App.app\r\n/Users/kiat/titaniumTestWatch/SGTestW/build/iphone/build/Products/Debug-iphonesimulator/SGTestW WatchKit Extension.appex\r\n{code}\r\nHowever, the thing is, the watchKit apps are not in {{Debug-iphonesimulator}} but actually in {{Debug-watchsimulator}}.\r\nThis has always been the same in iOS 9.3 and Titanium 5.4.X. So we having been rebuilding the watchkit project for every build. Not sure if it's by design. \r\n[~cbarber] fyi. \r\n", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-07-18T08:36:19.000+0000", "updated": "2016-07-18T08:36:19.000+0000" }, { "id": "390999", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "It's the same for non-watch applications. Just noticed it in hyperloop-examples with iOS 10 today. After running the build again, the error seem to be gone. Strange behavior.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-07-19T12:04:03.000+0000", "updated": "2016-07-19T12:04:03.000+0000" }, { "id": "392682", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "Master PR: https://github.com/appcelerator/titanium_mobile/pull/8198\r\n6_0_X PR: https://github.com/appcelerator/titanium_mobile/pull/8200\r\n\r\nThis PR fixes a number of Xcode 8 and WatchOS related issues:\r\n\r\n* Team id is now required in the tiapp.xml when building an app with a watch extension and Xcode 8.\r\n* Added build configuration settings for swift files in watch apps\r\n** Namely set the \"SWIFT_VERSION\" to \"2.2\", if it's not already set... all new Watch extension projects will have this set to \"3.0\"\r\n* Removed old watchos2 template in favor of existing watchos2-objc template.\r\n* Set default min iOS SDK version to 8.0 if not explicitly set in the tiapp.xml and compiling using Xcode 8.\r\n* Removed old maintainers from package.jsons.\r\n\r\nThe bad news is I was not able to reproduce the original issue in this ticket. Differential builds work just fine. The problem with the destination is due to a problem with selecting an iOS Simulator. I believe this to be machine/install specific issue where one of the simulators is mucked up.", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-08T22:38:37.000+0000", "updated": "2016-08-08T22:38:37.000+0000" }, { "id": "393117", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I'll move Chris's PR to another ticket and resolving this one as not reproducible.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-08-15T04:56:32.000+0000", "updated": "2016-08-15T04:56:32.000+0000" }, { "id": "393138", "author": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "body": "PRs moved to TIMOB-23774.\r\n\r\n5_5_X PR: https://github.com/appcelerator/titanium_mobile/pull/8228", "updateAuthor": { "name": "cbarber", "key": "cbarber", "displayName": "Chris Barber", "active": true, "timeZone": "America/Chicago" }, "created": "2016-08-15T12:45:19.000+0000", "updated": "2016-08-15T12:51:50.000+0000" }, { "id": "416027", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-28T19:47:10.000+0000", "updated": "2017-03-28T19:47:10.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }