Apple 的 PencilKit 演示无法部署到 iPad

Apple's PencilKit Demo not able to deploy to iPad

我想在我的 iPad:

上安装 Apple 的 PencilKit 和 运行 的演示代码

https://developer.apple.com/documentation/pencilkit/drawing_with_pencilkit

我使用:

我可以将它部署到 iOS 模拟器,但不能部署到 iPad。我一直收到错误消息:

The app ID "<bundle-id>" cannot be registered to your development team. Change your bundle identifier to a unique string to try again.

必须更改哪些字段才能使其正常工作。所有其他解决方案都不适合我。

Change your bundle identifier to a unique string to try again.

此字段位于您应用目标的 "General" 选项卡中。

系统重启后成功了‍♂️