简体   繁体   English

通过xcode使用企业部署来退出应用

[英]Resigning the app with the Enterprise Deployment via xcode

I used .xcarchive file and I was unable to install the signed ipa that I generated on an iPad. 我使用了.xcarchive文件,但无法安装在iPad上生成的已签名ipa。 The signed ipa was derived from the xcode archive for iPad. 签名的ipa源自iPad的xcode存档。

I get the following errors: 我收到以下错误:

 2 14:58:12 Test-iPad3 installd[34] <Error>: 0x1b1d000 -
[MICodeSigningVerifier performValidationWithError:]: 186: 
Failed to verify code signature of <MIExecutableBundle :
path = /private/var/mobile/Library/Caches/
  com.apple.mobile.installd.staging/temp.bFDqhk/extracted/
 Payload/Test_iPad.app identifier = com.companyname.xxx.ipad 
type = 4> : 0xe8008016 (Entitlements found that are not
permitted by provisioning profile)
Nov  2 14:58:12 Test-iPad3 installd[34] <Error>: 
0x1b1d000 -[MIInstaller performInstallationWithError:]: 
Verification stage failedstat ov: No such file or directory

When I use the explicit bundle-identifier com.companyname.xxx.ipad I get an error 当我使用显式包标识符com.companyname.xxx.ipad时,出现错误

" An App ID with Identifier 'com.companyname.xxx.ipad' is not available. Please enter a different string.” “带有标识符'com.companyname.xxx.ipad'的应用程序ID不可用。请输入其他字符串。”

Any Idea what is the problem? 任何想法是什么问题?

Thanks in advanced! 提前致谢!

Your app has some specific entitlements turned on, so you cannot use the wild card profile. 您的应用已启用某些特定的权利,因此您无法使用通配符配置文件。 The wild card profile is just a catch all with no entitlements to cut out some setup a little in the beginning. 通配符配置文件只是一个小菜一碟,没有权利在开始时就减少一些设置。 To add entitlements, you will need to create an App ID in the member center (your bundle-identifier will need to match this ID) that has the entitlements associated with it. 要添加权利,您需要在成员中心中创建一个具有与其相关联的权利的应用程序ID(您的捆绑包标识符需要与此ID匹配)。 Then you need to create a new provisioning profile that uses this App ID. 然后,您需要创建一个使用此应用程序ID的新配置文件。 When you have the new provisioning profile, you can sign/archive your app. 拥有新的配置文件后,即可签名/存档您的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM