OGeek|极客世界-中国程序员成长平台

标题: ios - Xcode 7 和部署目标 8.0 [打印本页]

作者: 菜鸟教程小白    时间: 2022-12-12 19:52
标题: ios - Xcode 7 和部署目标 8.0

当我在 Target -> General -> Embedded Binaries 中添加 pubnub 框架时。它对我来说很好,如下图所示。

enter image description here

但是嵌入 CocoaLumberjack 和 PubNub 二进制文件(而不仅仅是链接它们)会导致构建被 TestFlight 拒绝并抛出错误 ITMS-90087。发生这种情况是因为二进制文件支持模拟器架构 (x86),并且永远不会嵌入/提交到应用商店。

所以我从 Target -> General -> embedded Binaries 中删除了框架,然后我得到了错误

enter image description here

dyld: Library not loaded: @rpath/PubNub.framework/PubNub Referenced from: /Users/mymac/Library/Developer/CoreSimulator/Devices/43C64A2B-0661-4986-A903-081EBAD8E761/data/Containers/Bundle/Application/089839A8-D4A4-4343-A277-4E4D028648AB/ParcelPalDriver.app/ParcelPalDriver Reason: image not found

我该怎么办? 提前致谢



Best Answer-推荐答案


pod 自动获取依赖关系的最佳方式。

关于ios - Xcode 7 和部署目标 8.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37154514/






欢迎光临 OGeek|极客世界-中国程序员成长平台 (http://sqlite.in/) Powered by Discuz! X3.4