来自 xcodebuild 的“Xcode 无法确定配置文件类型”错误

Voj*_*vik 4 xcode ios

使用 构建时xcodebuild,它返回以下错误:

xcodebuild[39801:1441114]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-14490.122/IDEFoundation/Provisioning/IDEProfileQualification.m:509
Details:  Xcode could not determine type of profile "/Users/xxxx/Library/MobileDevice/Provisioning Profiles/88a31133-a95d-4ae2-b516-f86dffe2f432.mobileprovision" (could be {(
)})
Object:   <IDEProfileQualification: 0x7fc8808118f0>
Method:   -_profileTypeQualifier
Thread:   <NSThread: 0x7fc8766457e0>{number = 6, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
Run Code Online (Sandbox Code Playgroud)

Voj*_*vik 8

Apple 更新了开发者门户 UI,我没有仔细阅读说明。我创建的证书和配置文件仅适用于 Xcode 11。

Xcode10 的正确选择是"iOS Distribution (App Store and Ad Hoc)"

在此处输入图片说明