2

我正在尝试使用 Apple 提供的示例 Xcode 项目“Adding-content-to-Apple-Music”来熟悉 Apple 的 Music Kit SDK

我遇到了样本无法获取用户令牌的问题。我确保我拥有正确的开发者令牌。我在“授权”部分看到-

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.)

有人可以帮忙吗?

我在这里查看了其他人提出的相同问题:

苹果音乐套件用户令牌

我正在尝试获取苹果音乐 API 的用户令牌,我已经从 python 终端命令生成了有效的开发人员令牌

使用 JWT 获取 Apple Music SDK 的 userToken 时出错

如何在 iOS 之外创建 Apple Music 用户令牌

AppleMusicKit SDK / 示例项目 - UserToken 问题

我也没有运气在 Apple 开发者论坛上寻找答案。还尝试在 Apple 开发者论坛上发布此帖子,但我的帖子被版主拒绝了。

谢谢你。

4

0 回答 0