Apple音乐套件用户令牌问题iOS 11 Swift 4

时间:2018-03-29 03:09:33

标签: ios swift xcode apple-musickit

我正在尝试使用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.)

有人可以帮忙吗?

我看过其他人问的问题:

apple musickit user token

I am try to get user token for apple music API, i have already generated valid developer token from python terminal commands

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开发者论坛上发布此帖子,但我的帖子被主持人拒绝了。

谢谢。

0 个答案:

没有答案