菜鸟教程小白 发表于 2022-12-11 19:39:08

ios - 找不到框架 GoogleMapsCore


                                            <p><p>我在我的 iOS 应用程序中使用 Googlemap 框架。但我似乎无法理解导致错误的原因:Framework not found GoogleMapsCore。</p>

<p>是的,我知道它找不到那个模块。但我可以在 Pods 文件夹中看到它。见下图。
<a href="/image/rrBTx.png" rel="noreferrer noopener nofollow"><img src="/image/rrBTx.png" alt="enter image description here"/></a> </p>

<p>我什至在框架搜索路径中添加了指向该文件夹的链接。请参见下图。
<a href="/image/wJxUF.png" rel="noreferrer noopener nofollow"><img src="/image/wJxUF.png" alt="enter image description here"/></a> </p>

<p>你有什么想法吗?</p></p>
                                    <br><hr><h1><strong>Best Answer-推荐答案</ strong></h1><br>
                                            <p><p>这通常表明 Pods 项目没有正确构建。解决此问题的最佳方法是从您的 podfile 中删除 GoogleMaps pod,运行 <code>pod install</code>。这将删除 GoogleMaps 框架。然后再次编辑 podfile,添加 GoogleMaps 框架并再次运行 <code>pod install</code>。这将重新安装 pod,并重新生成将所有框架正确链接到您的应用程序的 Pods 项目。它几乎总是适用于这个错误 - <code>Framework not found</code>。</p></p>
                                   
                                                <p style="font-size: 20px;">关于ios - 找不到框架 GoogleMapsCore,我们在Stack Overflow上找到一个类似的问题:
                                                        <a href="https://stackoverflow.com/questions/43921274/" rel="noreferrer noopener nofollow" style="color: red;">
                                                                https://stackoverflow.com/questions/43921274/
                                                        </a>
                                                </p>
                                       
页: [1]
查看完整版本: ios - 找不到框架 GoogleMapsCore