当我尝试构建ios-app并将其部署在连接到我的PC的iPad上时(我在远程mac上使用remotebuild代理(xcode 9.2)和在我的PC上使用2015 + apache cordova)我有以下错误:
错误域= IDEProvisioningErrorDomain Code = 9"" myapp.app"需要配置文件。"的UserInfo = {NSLocalizedDescription =" myapp.app"需要配置文件。,NSLocalizedRecoverySuggestion =将配置文件添加到" provisioningProfiles"导出选项属性列表中的字典
有什么建议吗?
答案 0 :(得分:0)
在 developer.apple.com 门户网站中创建开发/分发配置文件,然后在 build.json 配置文件中指定TEAMID和配置文件:
"ios": {
"debug": {
"codeSignIdentitiy": "iPhone Developer",
"developmentTeam":"MYTEAMID",
"provisioningProfile": "Provisoning profile name",
"packageType": "developer"
},
"release": {
"codeSignIdentitiy": "iPhone Distribution",
"developmentTeam":"MYTEAMID",
"provisioningProfile": "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX",
"packageType": "app-store"
}
}
有关如何创建配置文件的更多信息,请参阅官方TACO指南:Create a Provisioning Profile