0

我正在尝试编译 IPA 以在 Phonegap Build 中分发,但我收到以下错误:

Running command: xcodebuild -exportArchive -archivePath Releva.xcarchive -exportOptionsPlist /private/project/exportOptions.plist -exportPath /private/project/build/device
2020-02-19 14:42:12.285 xcodebuild[46455:98411165] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/37/x2444x712rnbshh_b1tlfwsm0000gp/T/************.xcdistributionlogs'.
2020-02-19 14:42:12.665 xcodebuild[46455:98411167]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks_Fall2018/IDEFrameworks-14460.46/IDEFoundation/Provisioning/IDEProfileQualification.m:509
Details:  Xcode could not determine type of profile "/Library/MobileDevice/Provisioning Profiles/production-ios-1582151957--90970.mobileprovision" (could be {(
)})
Object:   <IDEProfileQualification: 0x7fd1f6e0b350>
Method:   -_profileTypeQualifier
Thread:   <NSThread: 0x7fd1f6806dc0>{number = 4, name = (null)}
Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
error: exportArchive: No signing certificate "iOS Distribution" found

Error Domain=IDECodesignResolverErrorDomain Code=1 "No signing certificate "iOS Distribution" found" UserInfo={IDEProvisioningError_UserInfoKey_IDEProvisioningErrorPlatform=com.apple.platform.iphoneos, IDEProvisioningError_UserInfoKey_IDEProvisioningErrorAction=5, NSLocalizedRecoverySuggestion=No "iOS Distribution" signing certificate matching team ID "************" with a private key was found., IDEProvisioningError_UserInfoKey_IDEProvisioningErrorSpecifier=iOS Distribution, IDEProvisioningError_UserInfoKey_IDEProvisioningErrorTeam=<IDEProvisioningBasicTeam: 0x7fd1f6e0a330; teamID='***********', teamName='(null)'>, NSLocalizedDescription=No signing certificate "iOS Distribution" found}

我使用凭据和配置文件尝试并重试了所有内容,但继续收到相同的错误。一次又一次地创建它们,选择带有私钥的证书一起导出p12等..

我唯一注意到的是,当我选择证书来创建配置文件时,它显示“用于 Xcode 11 或更高版本”:

在此处输入图像描述

在错误日志中,它显示“Xcode 无法确定配置文件的类型”并在很多行中出现“Applications/Xcode101.app”,这让我认为它正在尝试使用 Xcode 10.1 编译它

提交 Pronegap Build 时如何使用 Xcode 11?

还有其他人有这个问题吗?有什么解决方法吗?

4

1 回答 1

2

好吧,问题在于在developers.apple.com. (不是供应配置文件)

去年苹果似乎改变了这一点,现在你有两个选择。一个是适用于任何版本的 Xcode 11+ 和 iOS(App Store 和 Ad Hoc)的 Apple Distribution。

在此处输入图像描述

希望它可以帮助其他遇到此问题的人。

于 2020-02-20T11:50:32.337 回答