“未找到此可执行文件的有效配置文件”在XCode中 [英] "a valid provisioning file for this executable was not found" in XCode

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

问题描述

我正在尝试将我的第二个应用程序提交到App Store。我尽我所知遵循了所有说明,但是当我尝试构建并运行时,我一直收到此错误:



这是一个有效的配置文件找不到可执行文件



我让XCode自动选择配置文件。我想选择的那个是灰色的。但目标窗口的构建选项卡中的下拉选项显示



配置文件与应用程序标识符不匹配



<另外我不了解的是,选择下拉列表显示com.mycompany.myapp,然后是ABCDEDFG.com.mycompany.myapp(两者都组成),以便我看到他们不会匹配。我在管理器和plist文件中安装了唯一标识符配置文件。



我完全糊涂了。我已按照本书中的说明进行了几次操作,但却无法得到它。

解决方案

您必须创建配置从开发人员中心获取配置文件并将其下载到本地计算机。从Xcode菜单中,打开管理器,将下载的配置文件安装到配置文件区域。然后Xcode将自动为您链接。



希望有所帮助。


I'm trying to submit my second app to the App Store. I've followed all the instructions to the best of my knowledge, but I keep getting this error when I try to build and run:

"a valid provisioning file for this executable was not found"

I'm letting XCode auto select the profile automatically. The one I'd like to select is greyed out. But the dropdown selection in the Build tab of the Target window says

"profile doesn't match application identifier"

The other thing I don't get about this is that the selection dropdown shows "com.mycompany.myapp" and then "ABCDEDFG.com.mycompany.myapp" (both of those made up) so that I see they don't match. I have the unique identifier profile installed in the Organizer and in plist file.

I'm totally confused. I have followed the instructions in my book a few times and just can't get it.

解决方案

You have to create the Provisioning Profile from your Developer Center and download it to your local machine. From the Xcode menu, open the Organizer, install the downloaded provisioning profile into the Profiles area. Xcode will then link automatically for you.

Hope that helps.

这篇关于“未找到此可执行文件的有效配置文件”在XCode中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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