{ "id": "166389", "key": "TIMOB-24448", "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": "19275", "description": "Patch release for 6.0.x regressions or important fixes", "name": "Release 6.0.3", "archived": false, "released": true, "releaseDate": "2017-03-22" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-03-08T00:23:09.000+0000", "created": "2017-03-02T01:44:07.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [ { "id": "18928", "name": "Release 6.0.2", "archived": false, "released": true, "releaseDate": "2017-02-27" } ], "issuelinks": [ { "id": "54497", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "inwardIssue": { "id": "166400", "key": "TIMOB-24449", "fields": { "summary": "iOS: Ti.Media.vibrate() crashes app using SDK 6.0.2", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-03-09T16:45:53.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": "The app will not compile if \" Titanium.Media.appMusicPlayer or the Titanium.Media.systemMusicPlayer\" are used in my app. However, it works fine in the simulator or when the iPhone is connected using the LiveView. The app will compile if I code out the line with Titanium.Media.appMusicPlayer.\r\n----\r\n\r\n\r\n{code:javascript}\r\ntry {\r\n\tvar player = Titanium.Media.systemMusicPlayer;\r\n\tTi.API.info(\">>>>>>>>>>>>>>>>>>>>>> player.playbackState\", player.playbackState);\r\n\r\n} catch (e) {\r\n\tTi.API.info(e);\r\n}\r\n\r\nTi.API.info(\"AudioSessionCategory: \" + Ti.Media.getAudioSessionCategory());\r\n{code}\r\n\r\n\r\n\r\n{code:java}\r\n[ERROR] : ** BUILD FAILED **\r\n[ERROR] : The following build commands failed:\r\n[ERROR] : \tCompileC build/Intermediates/Triathlon.build/Debug-iphoneos/Triathlon.build/Objects-normal/armv7/MediaModule.o Classes/MediaModule.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler\r\n[ERROR] : (1 failure)\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "iOS: App not compiling due to Ti.Media.systemMusicPlayer", "creator": { "name": "mikezal1", "key": "mikezal1", "displayName": "mikezal1", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mikezal1", "key": "mikezal1", "displayName": "mikezal1", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "{noformat}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.12.3\r\n Architecture = 64bit\r\n # CPUs = 8\r\n Memory = 16.0GB\r\n\r\nNode.js\r\n Node.js Version = 4.6.1\r\n npm Version = 2.15.9\r\n\r\nAppcelerator CLI\r\n Installer = 4.2.8\r\n Core Package = 6.1.0\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.11\r\n node-appc Version = 0.2.39\r\n\r\nTitanium SDKs\r\n 6.0.2.GA\r\n Version = 6.0.2\r\n Install Location = /Users/Michael/Library/Application Support/Titanium/mobilesdk/osx/6.0.2.GA\r\n Platforms = iphone, android, mobileweb\r\n git Hash = 3c5806f\r\n git Timestamp = 2/24/2017 19:26\r\n node-appc Version = 0.2.39\r\n\r\n\r\nXcode\r\n 8.2.1 (build 8C1002) - Xcode default\r\n Install Location = /Applications/Xcode.app/Contents/Developer\r\n iOS SDKs = 10.2\r\n iOS Simulators = 10.2\r\n Watch SDKs = 3.1\r\n Watch Simulators = 3.1\r\n Supported by TiSDK 6.1.0.v20170127160654 = yes\r\n EULA Accepted = yes\r\n{noformat}\r\n", "closedSprints": [ { "id": 847, "state": "closed", "name": "2017 Sprint 05 SDK", "startDate": "2017-02-26T17:39:21.095Z", "endDate": "2017-03-12T17:39:00.000Z", "completeDate": "2017-03-12T19:14:38.838Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "408312", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/titanium_mobile/pull/8857\r\n\r\nDetails: We wrapped *all* music API's based on the methods that use them. That caused a lot of cross-dependencies between those API's, resulting in a) a messed-up core and b) some edge-cases that cause exactly those issues. This PR removes those macros again, since the AppStore rejections weren't affected to the Music API's but the Camera API's. So we open up the SDK again to make it easier to access certain API's.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-02T14:50:06.000+0000", "updated": "2017-03-02T14:50:06.000+0000" }, { "id": "409725", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "FR Passed, using:\r\nMacOS 10.12 (16A323)\r\nStudio 4.8.1.201612050850\r\nTi SDK 6.1.0\r\nAppc NPM 4.2.8\r\nAppc CLI 6.1.0\r\nAlloy 1.9.5\r\nXcode 8.2.1 (8C1002)\r\n\r\nTested using the provided code in TIMOB-24448 and TIMOB-24449 as well as running the QE Media Test Suite and submitting an app to the store that uses many ti.media methods/properties. All projects compiled and no errors were encountered", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-08T00:23:09.000+0000", "updated": "2017-03-08T00:23:09.000+0000" }, { "id": "409726", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel], [~vijaysingh]: I believe we need a back port 6_0_X and fixVersion update here.", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-08T00:24:27.000+0000", "updated": "2017-03-08T00:24:53.000+0000" }, { "id": "409800", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Backport merged: https://github.com/appcelerator/titanium_mobile/pull/8865", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-08T08:10:10.000+0000", "updated": "2017-03-08T08:10:10.000+0000" }, { "id": "410290", "author": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Verified in SDKs 6.0.3.v20170309031327 and 6.1.0.v20170307133328", "updateAuthor": { "name": "ewieber", "key": "ewieber", "displayName": "Eric Wieber", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-09T16:45:53.000+0000", "updated": "2017-03-09T16:45:53.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }