“未找到此可执行文件的有效配置文件”在 XCode 中

发布于 2024-08-29 05:26:59 字数 361 浏览 3 评论 0原文

我正在尝试将我的第二个应用程序提交到应用程序商店。我已尽我所知遵循所有说明,但当我尝试构建和运行时,我不断收到此错误:

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

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

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

我不明白的另一件事是,选择下拉列表显示“com.mycompany.myapp”,然后显示“ABCDEDFG”。 com.mycompany.myapp”(这两个都是虚构的),这样我就发现它们不匹配。我在管理器和 plist 文件中安装了唯一标识符配置文件。

我完全糊涂了。我已经按照书中的说明操作了几次,但就是无法得到它。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

年少掌心 2024-09-05 05:26:59

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

希望有帮助。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文