ios - Xcode 7 和部署目标 8.0
<p><p>当我在 Target -> General -> Embedded Binaries 中添加 pubnub 框架时。它对我来说很好,如下图所示。</p>
<p> <a href="/image/qmyaA.png" rel="noreferrer noopener nofollow"><img src="/image/qmyaA.png" alt="enter image description here"/></a> </p>
<p>但是嵌入 CocoaLumberjack 和 PubNub 二进制文件(而不仅仅是链接它们)会导致构建被 TestFlight 拒绝并抛出错误 ITMS-90087。发生这种情况是因为二进制文件支持模拟器架构 (x86),并且永远不会嵌入/提交到应用商店。</p>
<p>所以我从 Target -> General -> embedded Binaries 中删除了框架,然后我得到了错误</p>
<p> <a href="/image/HLIDJ.png" rel="noreferrer noopener nofollow"><img src="/image/HLIDJ.png" alt="enter image description here"/></a> </p>
<blockquote>
<p>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</p>
</blockquote>
<p>我该怎么办?
提前致谢</p></p>
<br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
<p><p><code>pod</code> 自动获取依赖关系的最佳方式。</p></p>
<p style="font-size: 20px;">关于ios - Xcode 7 和部署目标 8.0,我们在Stack Overflow上找到一个类似的问题:
<a href="https://stackoverflow.com/questions/37154514/" rel="noreferrer noopener nofollow" style="color: red;">
https://stackoverflow.com/questions/37154514/
</a>
</p>
页:
[1]