I'm writing a Cocoa app that scripts various functions of the Music app. I'm successfully scripting a number of operations (create playlist, play tracks), but all AirPlay ops (get devices, set device volume) are failing with a permissions error: "-[Music airplayDevices_]: Music got an error: A privilege violation occurred. (error -10004)"Details:I'm using the AppleScriptObjC framework from Swifttargeting Catalina/Music, but have the same failures in Mojave/iTunescode succeeds when not sandboxed - only fails in the sandboxThe entitlements file includes the following: <key>com.apple.security.scripting-targets</key>
<dict>
<key>com.apple.Music</key>
<array>
<string>com.apple.Music.device</string>
<string>com.apple.Music.user-interface</string>
<string>com.apple.Music.playback</string>
<string>com.apple.Music.playerInfo</string>
<string>com.apple.Music.library.read</string>
<string>com.apple.Music.library.read-write</string>
<string>com.apple.Music.podcast</string>
</array>
</dict>i.e. all access-groups I could find using "sdef /System/Applications/Music.app". According to the sdef, AirPlay access is controlled by com.apple.Music.playback, which is included above.I assume I need some other entitlement as well, but I can't for the life of me find out what it is.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello,
New app with a simple subscription is being rejected in review, apparently because the subscription's IAP products are unavailable in the review environment. Subscription purchases work correctly in TestFlight.
The only description of the problem supplied by the reviewer is "Specifically, error processing IAPs" – no screenshots or description of symptoms. However I can see from app diagnostics they are getting the log error "Subscription store should include at least one auto-renewable subscription", which implies the products cannot be loaded.
There is nothing I can change at my end to resolve this. Please help. This seems to be a regular problem, reading this forum.
FYI:
Subscriptions work in TestFlight using the sandbox
Subscription products were attached to the app version for review
Subscription products have status "Waiting for review"
The paid agreement is active and bank information is present
I have also deleted and re-created the products with new group and product ids after a previous similar rejection. The submitted build uses these new products of course.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
Subscriptions
App Review
StoreKit