菜鸟教程小白 发表于 2022-12-12 08:54:31

ios - 不要在 xcode 7 中使用 opencv 运行应用程序?


                                            <p><p>我如何安装opencv pods,当我在我的ios 设备上运行应用程序时,我遇到了这个问题。</p> <blockquote>
<p>opencv2.framework/opencv2(cap_ios_photo_camera.o)&#39; does not contain
bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7</p>
</blockquote></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>在您的 App Target 的build设置中,搜索“Bitcode”并将 Bitcode Enabled 设置为 NO。</p>

<hr/>

<p>虽然我建议您让框架供应商提供支持 Bitcode 的版本</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 不要在 xcode 7 中使用 opencv 运行应用程序?,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/32651222/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/32651222/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 不要在 xcode 7 中使用 opencv 运行应用程序?