简体   繁体   English

内部应用程序:无法下载应用程序-找不到此可执行文件的有效配置文件

[英]In-house app: Unable to download app - A valid provisioning profile for this executable was not found

I have a very tricky problem installing a .ipa ( in-house distribution). 我在安装.ipa内部发行版)时遇到了一个非常棘手的问题。 Only on one iPad I cannot install this ipa - while it works in at least other 5 devices - and when I try to install it on that device I get an error "Unable to download app". 仅在一个iPad上,我无法安装该ipa-尽管它至少可以在其他5台设备上运行,并且当我尝试在该设备上安装它时,出现错误“无法下载应用”。

Reading the device log while installing I can read: 在安装时阅读设备日志,我可以阅读:

MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 147: Failed to verify code signature of MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]:147:无法验证以下代码的代码签名

Trying to install the ipa on the iPad directly with Xcode i get the error: 尝试直接使用Xcode在iPad上安装ipa时出现错误:

A valid provisioning profile for this executable was not found 找不到此可执行文件的有效配置文件 在此处输入图片说明

The installation of the ipa through an html page with .plist (in https) works well for all the other devices. 通过带有.plist(在https中)的html页面的ipa安装对于所有其他设备都适用。 I tried also to update iOS to last version (10.3) and after that I tried to reset the device, but nothing changed. 我还尝试将iOS更新到最新版本(10.3),此后,我尝试重置设备,但未进行任何更改。

Solved in 7 steps: 解决了7个步骤:

  • registered the device's UDID on the Apple developer portal 在Apple开发人员门户上注册了设备的UDID
  • added the device to the development provisioning profile 将设备添加到开发配置文件中
  • downloaded the updated provisioning profile on XCode 在XCode上下载了更新的配置文件
  • compiled again the .ipa 再次编译.ipa
  • installed the .ipa on the device using Xcode 使用Xcode在设备上安装了.ipa
  • authorized the developer 授权开发商
  • installed the original .ipa from the html page => it worked 从html页面安装了原始的.ipa =>

I've always had lots of problem due to Apple certificates but this one is the worse ever. 由于Apple认证,我总是遇到很多问题,但这是有史以来最糟糕的。 Saltassero per aria le mele ei melanisti. Saltariaro per aria le mele ei melanisti。

First create Certificate from keychain with these steps 首先通过以下步骤从钥匙串创建证书

  1. Open KeyChain app, 打开KeyChain应用程序,
  2. Request a certificate from a certificate authority 向证书颁发机构请求证书
  3. And check Saved to disk & Let me specify key pair information 并选中“保存到磁盘”并指定密钥对信息
  4. And save certificat with final step (Check on linked image) 并保存最后一步的证书(检查链接的图像)

After then create your In-house provisioning profile(Check link) 然后,创建您内部的配置文件(检查链接)

暂无
暂无

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

相关问题 在内部应用程序上续订iOS配置文件 - Renew iOS Provisioning Profile on in-house app Xcode:无法导出内部应用程序..配置文件错误 - Xcode : Can't Export in-house app .. provisioning profile error 找不到此可执行文件的有效配置文件:对于App Store分发配置文件 - A valid provisioning profile for this executable was not found: For App Store Distribution Profile 应用程序安装失败:找不到此可执行文件的有效配置文件 - App Installation failed: A valid provisioning profile for this executable was not found Xcode 7:应用程序安装失败:找不到此可执行文件的有效配置文件 - Xcode 7: App installation failed: A valid provisioning profile for this executable was not found 找不到有效的配置文件为此可执行文件 - Valid provisioning profile not found for this executable 内部分配配置文件和证书过期 - Expiring In-house Distribution provisioning profile and certificate 更改了应用名称,现在无法在设备上运行(找不到此可执行文件的有效配置文件。) - Changed app name, now can't run it on device (A valid provisioning profile for this executable was not found.) 尝试在设备上运行我的应用时,找不到此可执行文件的有效配置文件 - A valid provisioning profile for this executable was not found when trying to run my app on device 从TestFlight安装应用突然遇到“找不到有效的配置文件此可执行文件。”错误 - Install app from TestFlight suddenly meet “A valid provisioning profile for this executable was not found.” error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM