[英]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我希望这对你有帮助
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} 但我遇到了问题(但我认为你也应该试试这个)
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 版本和模拟器上都可以正常工作。
就我而言,升级系统后,它会自动修复
Reinstall Xcode.重新安装Xcode。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.