找不到此可执行文件的有效设置配置文件...(再次) [英] A valid provisioning profile for this executable was not found... (again)

查看:179
本文介绍了找不到此可执行文件的有效设置配置文件...(再次)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这已经被多次回答了,但是我撕掉了我的头发,因为没有任何建议的解决方案似乎工作。

I know this has been asked and answered multiple times but I'm tearing my hair out as none of the proposed solutions appears to work.

我收到上述错误,有效的配置文件,根据我可以告诉匹配包标识符:

I receive the above error, despite having a valid provisioning profile which, as far as I can tell matches the bundle identifier:

我已按照本网站上各种建议解决方案中的步骤操作,包括删除所有现有证书,建议此处此处

I've followed the steps in various suggested solutions on this site, including deleting all existing certificates and starting again, as suggested here and here.

我注意到的一件事是,配置文件不会显示在代码签名列表中,无论是目标还是

One thing I have noticed is that the profile doesn't show up in the code signing lists, either for target or project.

任何人都可以提出任何进一步的建议?

Can anyone offer any further suggestions?

推荐答案

发生在我昨天。发生了什么事,当我添加的设备Xcode包括它在错误的配置文件默认情况下。这更容易解决,因为苹果已更新配置门户:

This happened to me yesterday. What happened was that when I added the device Xcode included it in the wrong profile by default. This is easier to fix now that Apple has updated the provisioning portal:


  1. 登录到developer.apple.com/ios并单击证书,标识符&

  2. 点击设备并确保列出了相关设备

  3. 点击设置配置文件>全部并选择要使用的设备

  4. 点击修改按钮

  5. 您会看到另一个设备列表,其中还有一个标签,可能会说选择4个设备中的3个

  6. 选中全选框,或滚动列表并检查设备。

  7. 点击生成

  8. 不要点击下载;安装 - 虽然这将工作,如果您已经安装了配置配置文件,可能会拧紧您的项目文件(请参阅
  9. 打开Xcode,打开管理器,切换到设备选项卡,然后单击下一步并点击右下角的刷新按钮。

  1. Log in to developer.apple.com/ios and click Certificates, Identifiers & Profiles
  2. Click devices and make sure that the device in question is listed
  3. Click provisioning profiles > All and select the one you want to use
  4. Click the edit button
  5. You will see another devices list which also has a label which will probably say "3 of 4 devices selected" or something of that nature.
  6. Check the select all box or scroll through the list and check the device. If your device was unchecked, this is your problem.
  7. Click "Generate"
  8. DON'T hit Download & Install – while this will work it's likely to screw up your project file if you've already installed the provisioning profile (see this question for more info).
  9. Open Xcode, open the Organizer, switch to the Devices tab, and hit the Refresh button in the lower right corner. This will pull in the changes to the provisioning profile.

现在应该可以正常工作了。

Now it should work.

这篇关于找不到此可执行文件的有效设置配置文件...(再次)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆