我正在尝试在 Windows 10 上使用 Visual Studio 2017 (Cordova) 构建(远程构建)一个 IO 应用程序,但出现构建错误:“构建失败,错误代码为 65 的命令:xcodebild with args”。
当我仔细查看 Mac 上的 build.log 文件时,它显示了一个代码签名错误:
代码签名错误:
[Application] requires a provisioning profile. Select a provisioning profile for the "Release" build configuration in the project editor. Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.3'
我已经通过https://developer.apple.com/account/ios/profile/create手动创建了一个配置文件,但是如果我没有直接使用 Xcode 构建应用程序,我该如何在构建配置中包含该文件。
您需要在 build.json 文件中包含详细信息,如下所示:
"ios": {
"debug": {
"packageType": "development",
"developmentTeam": "YOUR_DEV_TEAM_ID",
"codeSignIdentity": "iPhone Developer",
"provisioningProfile": "PROVISIONING_PROFILE_UUID"
},
"release": {
"developmentTeam": "YOUR_DEV_TEAM_ID",
"codeSignIdentity": "iPhone Developer",
"provisioningProfile": "PROVISIONING_PROFILE_UUID",
"packageType": "enterprise"
}
}
检查用于创建配置文件的应用程序 ID 是否与在 config.xml 文件顶部指定的 ID 匹配。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句