我正在尝试使用Apple提供的示例Xcode项目“添加内容到Apple-Music”来熟悉Apple的Music Kit SDK
我遇到了这个样本无法获得usertoken的问题。我确保我有正确的开发人员令牌。我在“授权”部分看到了 -
MPMediaLibrary:授权
SKCloudServiceController:授权
功能:音乐目录订阅符合条件
这是使用:Xcode 9.2,iOS 11.2,Swift 4
2018-03-22 23:24:51.109208-0400 Adding-Content-to-Apple-
Music[33233:12833831] [MC] Reading from private effective user
settings.
2018-03-22 23:24:55.193343-0400 Adding-Content-to-Apple-
Music[33233:12833831] [App] if we're in the real pre-commit handler we
can't actually add any new fences due to CA restriction
An error occurred when requesting user token: The operation couldn’t be
completed. (SKErrorDomain error 1.)
有人可以帮忙吗?
我看过其他人问的问题:
Error getting a userToken for Apple Music SDK with JWT
How to Create a Apple Music User Token outside iOS
AppleMusicKit SDK / Sample Project - UserToken issue
我也在Apple开发者论坛上寻找答案但没有运气。还尝试在Apple开发者论坛上发布此帖子,但我的帖子被主持人拒绝了。
谢谢。