简体   繁体   English

Xcode 9 - 无法为应用程序包 ID 创建 IPlaceholder

[英]Xcode 9 - Failed to create IXPlaceholder for app bundle ID

Upon updating to Xcode 9 and in the "launching" phase of compilation on the simulator I get the error:更新到 Xcode 9 后,在模拟器上编译的“启动”阶段,我收到错误消息:

Failed to create IXPlaceholder for app bundle ID无法为应用程序包 ID 创建 IPlaceholder

截屏

Emphasis placed on this issue only occurs trying to launch the simulator, as working with my actual iPhone 6s launches without any issues .重点放在这个问题上,只有在尝试启动模拟器时才会出现,因为使用我的实际 iPhone 6s 启动没有任何问题。

Attempts:尝试:

Ensured info.plist "Bundle Identifier" is correct.确保 info.plist “捆绑标识符”是正确的。 it is "$(PRODUCT_BUNDLE_IDENTIFIER)"它是“$(PRODUCT_BUNDLE_IDENTIFIER)”

Checked to see if typing the bundle identifier manually would work, but it did not.检查手动输入包标识符是否有效,但没有。

Project Cleaned项目清理

Deleted Derived Data删除派生数据

Xcode relaunched Xcode 重新启动

Computer Restarted电脑重启

Xcode betas uninstalled Xcode 测试版已卸载

Xcode Uninstalled and Reinstalled Xcode 卸载并重新安装

Provisioning Profile Expires in 11 months配置文件在 11 个月后到期

Automatically Manage Signing is unchecked then checked again未选中自动管理签名,然后再次选中

Paid Developer for 2 years now and have never had this issue before.付费开发人员 2 年了,以前从未遇到过这个问题。 Searched online for a solution with no luck and notice only a couple others have had this issue with no clear resolution.在网上搜索了一个没有运气的解决方案,并注意到只有其他几个人遇到了这个问题,但没有明确的解决方案。

What direction should I take to get this issue resolved.我应该采取什么方向来解决这个问题。 I don't see anything wrong with the provisioning files / certificates, but I could be wrong if someone could guide me in the right direction.我没有发现配置文件/证书有任何问题,但是如果有人可以指导我朝着正确的方向前进,我可能是错的。

Thank you谢谢

I had same problem, this solve it我有同样的问题,这解决了它

In you Info.plist:在你的 Info.plist 中:

Bundle_display_name : Dictionary Bundle_display_name :字典

set to String value not dictionary设置为字符串值而不是字典

Bundle_display_name : String Bundle_display_name : 字符串

i hope this help you我希望这对你有帮助

在此处输入图片说明 在此处输入图片说明

These steps helped me to fix this problem.这些步骤帮助我解决了这个问题。 I found this solution in this article我在这篇文章中找到了这个解决方案

The only solution I have come across to continue being able to test your application on the simulator is to download the Xcode 10.3.1 simulators and select those to test your app on.我遇到的唯一解决方案是继续能够在模拟器上测试您的应用程序是下载 Xcode 10.3.1 模拟器并选择那些来测试您的应用程序。

Best of luck to those who come across this bug!祝遇到此错误的人好运!

I think i found solution for this.我想我找到了解决方案。 It works for my case.它适用于我的情况。 I did two things:我做了两件事:

First(i think this is what really helps) :首先(我认为这是真正有帮助的):

  • in targets -> general-> Display name i set proper "App name" (i got i grayed before like seted placeholder)在目标 -> 常规 -> 显示名称中我设置了正确的“应用程序名称”(我之前像设置的占位符一样变灰)

    I tried to set ${PRODUCT_NAME} but i got issues with that (but i think you should try this too)我试图设置 ${PRODUCT_NAME} 但我遇到了问题(但我认为你也应该试试这个)

General Display Name一般显示名称

  • the in proper info.plist.在正确的 info.plist 中。 In bundle name set the same proper "App name".在包名称中设置相同的正确“应用程序名称”。

Same here.I tried to set ${PRODUCT_NAME} but i got issues with that (but i think you should try this too)同样在这里。我尝试设置 ${PRODUCT_NAME} 但我遇到了问题(但我认为你也应该尝试这个)

Info.plist Bundle Name Info.plist 包名称

Second(but i'm pretty sure that was a coincidence) :第二(但我很确定这是巧合):

I have other project that doesn't have this issue and works fine on all ios versions and simulators.我有其他项目没有这个问题并且在所有 ios 版本和模拟器上都可以正常工作。

  • In this project(that one which works fine) i set Bundle Identifier from project that doesn't works, but like i said im pretty sure that was only a coincidence在这个项目(那个工作正常)中,我从不起作用的项目中设置了 Bundle Identifier,但就像我说的我很确定这只是一个巧合

就我而言,升级系统后,它会自动修复

Reinstall Xcode.重新安装Xcode。

  1. Copy Xcode.xip from download Directory into Application Directory.将 Xcode.xip 从下载目录复制到应用程序目录中。
  2. Install it.安装它。
  3. Open your project and run.打开您的项目并运行。

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

相关问题 无法在xcode 9中为应用程序包ID创建IXPlaceholder - Failed to create IXPlaceholder for app bundle ID in xcode 9 无法为应用程序包 ID 创建 IPlaceholder - Failed to create IXPlaceholder for app bundle ID 无法使用Xcode 8.0在Xcode项目中创建具有匹配包ID的App ID,以进行首次发行 - Cannot create an App ID with matching Bundle ID in Xcode project for first release using Xcode 8.0 创建应用程序ID,捆绑标识符 - Create App ID, Bundle Identifier iOS Bundle ID 更改后出现问题,Xcode “上传失败” - iOS problems after Bundle ID change, Xcode “failed to upload” Google应用邀请包未能通过XCode验证 - Google app invite bundle failed to pass XCode verification 应用程序安装失败:应用程序包中不包含可执行文件 Swift Xcode - App installation failed: The application bundle does not contain an executable in Swift Xcode Xcode 12 安装应用程序时出错 - 无法让 FD 捆绑可执行文件 - Xcode 12 error in installing app -Failed to get FD to bundle executable Xcode 6:无法获取要匹配的应用ID和捆绑包标识符 - Xcode 6: Can't get App ID and Bundle Identifier to Match app ID 和 bundle ID 有什么区别? Xcode 项目中的应用 ID 在哪里? - What is the difference between the app ID and the bundle ID? Where is the app ID in the Xcode project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM