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

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

问题描述

我知道这个问题已被多次询问和回答,但由于所提出的解决方案似乎都不起作用,我感到很头疼.

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:

我已按照该站点上各种建议解决方案中的步骤进行操作,包括删除所有现有证书并重新开始,如建议 here这里.

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 默认将其包含在错误的配置文件中.由于 Apple 已更新配置门户,因此更容易解决此问题:

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 并点击 Certificates, Identifiers &个人资料
  2. 点击设备并确保列出相关设备
  3. 单击配置文件 > 全部并选择您要使用的配置文件
  4. 点击编辑按钮
  5. 您将看到另一个设备列表,其中也有一个标签,可能会显示已选择 4 个设备中的 3 个"或类似的内容.
  6. 选中全选框或滚动列表并检查设备.如果您的设备未选中,这就是您的问题.
  7. 点击生成"
  8. 不要点击下载和安装 - 虽然这会起作用,但如果您已经安装了配置文件,它可能会搞砸您的项目文件(请参阅 这个问题了解更多信息).
  9. 打开 Xcode,打开 Organizer,切换到 Devices 选项卡,点击右下角的 Refresh 按钮.这将拉入对配置文件的更改.
  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.

现在应该可以了.

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

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