{ "id": "165473", "key": "TIMOB-24346", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2017-01-27T19:09:03.000+0000", "created": "2017-01-25T19:10:09.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "samples", "watchos" ], "versions": [], "issuelinks": [], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-24T18:03:55.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": "Simply trying to compile WatchOS2 sample app with TiSDK 6.0 throws following error: \r\n\r\n{color:red}[ERROR] : ** BUILD FAILED **\r\n[ERROR] : The following build commands failed:\r\n[ERROR] : CompileC build/Intermediates/WatchOS2.build/Debug-iphonesimulator/WatchOS2.build/Objects-normal/x86_64/MediaModule.o Classes/MediaModule.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] : (1 failure){color}\r\n\r\nTested with TiSDK 6.0 GA and 6.0.1 GA", "attachment": [], "flagged": false, "summary": "iOS: watchOS2 sample app compile fails with TiSDK 6.0 and Xcode 7", "creator": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "nradaev", "key": "nradaev", "displayName": "Nikita Radaev", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "405310", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "I was not able to reproduce the error with 6.0.0.GA, 6.0.1.GA or the latest 6.0.2 app. The app was reported to occur when trying to run the [appc-sample-watchos2|https://github.com/appcelerator-developer-relations/appc-sample-watchos2] app, which built successfully for me. The error suggests a problem with the MediaModule.m, but that didn't seem to cause issues for me as well.\r\n\r\n*EDIT*: Looking at the trace logs you sent me, you're trying to run the SDK 6+ with Xcode 7. Please use Xcode 8 for SDK 6 and later, due to changes in the Xcode CLI we support in latest releases.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-25T21:18:20.000+0000", "updated": "2017-01-25T21:20:18.000+0000" }, { "id": "405515", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Thanks for the email-discussion Nikita. Resolving this ticket as {{Invalid}}, here are the things to check for people getting similar issues:\r\n- Ensure you have Xcode 8+ and Titanium SDK 5.5.0+ installed\r\n- Ensure you have the {{}} set in your tiapp.xml\r\n- Ensure the bundle identifier of your watchOS extension has the same name then the one from your app (Or use {{ $(PRODUCT_BUNDLE_IDENTIFIER)}} to ensure the same).", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-01-27T19:09:03.000+0000", "updated": "2017-01-27T19:09:03.000+0000" }, { "id": "415620", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid with reference to the above comments.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-24T18:03:55.000+0000", "updated": "2017-03-24T18:03:55.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }