简体   繁体   English

xcode“找不到此可执行文件的有效配置文件”

[英]xcode “A valid provisioning profile for this executable was not found”

Since upgrading to xcode 6 yesterday i have problems running an app from xcode on one of my devices and i have no idea why. 自从昨天升级到xcode 6后,我在其中一台设备上运行xcode的应用程序时出现问题,我不明白为什么。

The message is: 消息是:

A valid provisioning profile for this executable was not found

I have checked all the solutions from A valid provisioning profile for this executable was not found and "A valid provisioning profile for this executable was not found" error when trying to run unit tests but everything is correct. 我已经检查了所有解决方案, 但是找不到此可执行文件的有效配置文件,并且在尝试运行单元测试但是一切正确时,“找不到此可执行文件的有效配置文件”错误

So i have the right provisioning profile set, it is installed in the list of provisioning profiles on the device (and not expired) and the build configuration is debug. 所以我有正确的配置文件集,它安装在设备上的配置文件列表中(并且没有过期),构建配置是调试的。

I have no further ideas now. 我现在没有进一步的想法。

EDIT: another device has no problem. 编辑:另一台设备没有问题。 So it might be specific to iphone 6. 所以它可能是iphone 6特有的。

As your profile is working on one device that means issue is related to your iPhone 6 device. 由于您的个人资料正在使用一台设备,这意味着问题与您的iPhone 6设备有关。

You can try the following steps : 您可以尝试以下步骤:

1) When you create your provision profile, check whether your device is selected for that particular device. 1)创建配置文件时,请检查是否为该特定设备选择了您的设备。 If not then select and again download the provision profile and install it. 如果没有,则选择并再次下载配置文件并进行安装。

2) Just see in your phone whether you have any expired provision profiles. 2)只需在手机中查看您是否有任何过期的配置文件。 If yes then delete all expired provision profile first. 如果是,则首先删除所有过期的配置文件。

3) Delete your application from your device if it is previously installed. 3)如果以前安装了应用程序,请从设备中删除该应用程序。

4) Select proper provision profile in your project and hit run. 4)在项目中选择适当的配置文件并点击运行。

Try following steps: 请尝试以下步骤:

  1. Open Build Settings > Select Code Signing 打开构建设置>选择代码签名
  2. Provisioning Profile > Automatic. 配置文件>自动。

This is work for me. 这对我有用。 :) :)

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

相关问题 找不到此可执行文件的有效配置文件-Xcode 9? - A valid provisioning profile for this executable was not found - Xcode 9? 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 找不到有效的配置文件为此可执行文件 - Valid provisioning profile not found for this executable Xcode 7:应用程序安装失败:找不到此可执行文件的有效配置文件 - Xcode 7: App installation failed: A valid provisioning profile for this executable was not found Xcode,未找到此可执行文件的配置文件 - Xcode, no provisioning profile was found for this executable 找不到此可执行文件的有效配置文件:仅用于分发 - A valid provisioning profile for this executable was not found: only with distribution 错误:“找不到此可执行文件的有效配置文件” - Error: “A valid provisioning profile for this executable was not found” “找不到该可执行文件的有效配置文件” - “A valid provisioning profile for this executable could not be found”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM