ios - 代码 : The file “XXX.entitlements” couldn’t be opened because there is no such file

标签 ios xcode

因为我的旧机器损坏了,所以我将项目复制到另一台机器上并构建并运行它,但 xcode 返回错误:

warning: Falling back to contents of entitlements file "XXX.entitlements" because it was modified during the build process. Modifying the entitlements file during the build is unsupported.error: The file “XXX.entitlements” couldn’t be opened because there is no such file.

有人有什么建议吗?

最佳答案

转到build设置并清空 Entitlements 值。 enter image description here

希望这对你有用

关于ios - 代码 : The file “XXX.entitlements” couldn’t be opened because there is no such file,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45395694/

相关文章:

ios - 添加多个 ImageView 帧时对象的数量只有一个

ios - 如何在 Storyboard 中使 UiView 尊重百分比

c++ - 这个 backward_warning.h #warning 来自哪里?

iphone - 从Voscast服务器流式传输音频

ios - 从 Apple 的崩溃报告中收到的内存地址不可读

ios - Cocos2dx 在不使用 plist 文件的情况下更改 Sprite 大小和纹理 uv

ios - 为什么不调用 CBPeripheralManagerDelegate 方法?

ios - 在 uiwebviews 中滚动时空白

ios - 尝试访问数据库时无法识别 Firebase 唯一标识符(用户 ID)并且应用程序崩溃? swift iOS9

ios - 交互式通知支持 iOS 8