美文网首页
【问题随手记】Mac Mini M1 xcodebuild: p

【问题随手记】Mac Mini M1 xcodebuild: p

作者: name007 | 来源:发表于2021-03-16 17:31 被阅读0次

问题
error: Provisioning profile "xxx_profile" doesn't include the currently selected device "xxx的Mac mini" (identifier xxx). (in target 'xxx' from project 'xxx')

原因:
搭载 M1 芯片的 Mac 设备上可以运行任意 iOS 应用程序。

解决:
xcodebuild: profile doesn't include device ...

xcrun xcodebuild -configuration Release xxx -destination 'generic/platform=iOS'

相关文章

网友评论

      本文标题:【问题随手记】Mac Mini M1 xcodebuild: p

      本文链接:https://www.haomeiwen.com/subject/cbbdcltx.html