gpt4 book ai didi

ios - 未加载框架库 : 'Image not found'

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:33:29 25 4
gpt4 key购买 nike

我有一个包含 Pod 的框架和我的主要项目。

错误:

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire
Referenced from: /Users/station7/Library/Developer/CoreSimulator/Devices/472E34A1-3D59-4C1F-90A3-3F3FF2998CC4/data/Containers/Bundle/Application/5E4E1D98-6451-4F1D-8E90-A032029D634D/MyApp.app/Frameworks/requestMyApp.framework/requestMyApp
Reason: image not found
  • Alamofire.framework 存在于 framework pods 中,但不存在于主项目中。

If the framework exist in the main project the error never appear. But is in-necessary have Alamofire in both projects in podfile, Considering that the main project does not use at all the Alamofire.

我正在关注这篇文章:source 1source 2

我正在尝试所有来源的步骤,但没有任何效果。

enter image description here enter image description here enter image description here enter image description here enter image description here

最佳答案

Framework使用了post但是放到了Main Project中,pods中好像也需要Alamofire。也就是说,要修复必须在两个项目中都是 Alamofire

关于ios - 未加载框架库 : 'Image not found' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36992613/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com