ios8 - Xcode 6 错误 : "Embedded binary' s bundle identifier is not prefixed with the parent app's bundle identifier.“

标签 ios8 xcode6 ios-app-extension

我正在尝试构建一个扩展项目,但 Xcode 不断在主题中抛出错误。

Xcode log error

不用说,扩展程序的 bundle ID 以应用程序的 bundle ID 为前缀。

产品名称:ro.chitza.TodayPics.$(TARGET_NAME:rfc1034identifier

Extension bundle id

我尝试清理构建文件夹并重建,但没有成功。有趣的是,整个项目构建了几次,但在更改一些代码和 UI 后,它开始失败。即使我创建新项目,大约 5-6 次构建后也会发生同样的事情。

还有其他人遇到过这个错误吗?有关解决方案或解决方法的任何提示吗?

最佳答案

对于 xCode v12,我一键解决了这个问题:

目标 -> 构建阶段 -> 嵌入应用扩展

并检查:仅在安装时复制

enter image description here

关于ios8 - Xcode 6 错误 : "Embedded binary' s bundle identifier is not prefixed with the parent app's bundle identifier.“,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24045417/

相关文章:

uiimage - iOS 8 UIImage 元数据

iOS 8 快速应用程序,内容不居中

ios8 - HealthKit:不允许读取 HKCorrelationType

ios - 应用程序 :didReceiveLocalNotification never called on ios 8

swift - 后台获取中多个异步请求的最佳实践是什么?

ios - 检测自定义键盘是否已安装

ios - 如何使用 NSLog 调试 iOS 8 扩展?

iOS 8.1 UITableview 背景颜色始终为白色

ios - 失去与 iOS 模拟器的连接

swift - iOS 键盘扩展中屏幕左侧的动画延迟