简体   繁体   English

找不到有效的配置文件为此可执行文件

[英]Valid provisioning profile not found for this executable

I have my devices registered in my Apple developer account, I have an App ID and I created Provisioning profile that includes all my devices. 我的设备已在Apple开发人员帐户中注册,我具有应用程序ID,并且创建了包含所有设备的配置文件。 Now when I try running the project on my iPhone, it gives me this error, "Valid provisioning profile not found for this executable." 现在,当我尝试在iPhone上运行该项目时,它给了我这个错误,“找不到该可执行文件的有效配置概要文件”。 But when I try on other devices in the provisioning profile, it works!! 但是,当我尝试使用配置文件中的其他设备时,它就可以工作了!!

All other projects and provisioning profile show similar behaviour to this device. 所有其他项目和配置文件都显示与此设备类似的行为。 I have confirmed that my device is added and has not been DISABLED on my developer account. 我已经确认我的设备已添加,并且尚未在我的开发者帐户中被禁用。 What can be the issue? 可能是什么问题?

Thanks Ronit. 谢谢罗尼特。 This is the solution if your Provisioning profiles are working good to all its containing device but one of it is giving the issue described in the question. 如果您的“供应”配置文件对其所有包含的设备都运行良好,但是其中一个正在解决问题中所述的问题,那么这就是解决方案。

Simply Back-up your device, and reset all settings from your iPhone 只需备份设备,然后从iPhone重置所有设置

Goto iPhone's Settings App -> General -> Reset (Very bottom) -> Reset All Settings. 转到iPhone的“设置”应用->“常规”->“重置”(非常底部)->“重置所有设置”。

And later I tried running the App without any changes in my projects and certificates and it works... 后来我尝试在不更改项目和证书的情况下运行该应用程序,并且可以正常运行...

Though I would like to highlight it for Apple Engineers... :P 虽然我想为苹果工程师特别介绍一下...:P

In my case, I had an app with explicit app ID and got the same error when using the wildcard profiles, created by Xcode. 就我而言,我有一个带有明确应用ID的应用,并且在使用由Xcode创建的通配符配置文件时遇到了相同的错误。 I could fix it the following way: 我可以通过以下方式修复它:

  1. Point Safari to https://developer.apple.com/account/ios/profile/ and create a development profile with all needed devices 将Safari指向https://developer.apple.com/account/ios/profile/并使用所有需要的设备创建开发配置文件
  2. Open Xcode's preferences > Accounts 打开Xcode的首选项>帐户
  3. Select your Apple ID and click on "View Details…" 选择您的Apple ID,然后单击“查看详细信息…”
  4. "Download All" “全部下载”

(This downloads to ~/Library/MobileDevice/Provisioning Profiles) (此下载到〜/ Library / MobileDevice / Provisioning Profiles)

After that I could use Xcode's Run command and get a running app on my device. 之后,我可以使用Xcode的Run命令并在设备上获取正在运行的应用程序。

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

相关问题 找不到此可执行文件的有效配置文件:仅用于分发 - A valid provisioning profile for this executable was not found: only with distribution 错误:“找不到此可执行文件的有效配置文件” - Error: “A valid provisioning profile for this executable was not found” 找不到此可执行文件的有效配置文件-Xcode 9? - A valid provisioning profile for this executable was not found - Xcode 9? “找不到该可执行文件的有效配置文件” - “A valid provisioning profile for this executable could not be found” Xcode 8找不到此可执行文件的有效配置文件 - Xcode 8 A valid provisioning profile for this executable was not found Xcode 10:未找到此可执行文件的有效配置文件 - Xcode 10: A valid provisioning profile for this executable was not found 找不到此可执行文件的有效配置文件错误Xcode 9 - A valid provisioning profile for this executable was not found error Xcode 9 xcode“找不到此可执行文件的有效配置文件” - xcode “A valid provisioning profile for this executable was not found” 仅在iPhone 5上找不到此可执行文件的有效配置文件 - A valid provisioning profile for this executable was not found only on iPhone 5 iPhone设备:找不到此可执行文件的有效配置文件 - iPhone device: A valid provisioning profile for this executable was not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM