gpt4 book ai didi

ios - 库未加载 - Alamofire

转载 作者:可可西里 更新时间:2023-11-01 01:18:27 25 4
gpt4 key购买 nike

几个小时以来,我一直被一个错误所困扰。我正在使用 Alamofire 构建框架并在 iOS 项目中对其进行测试。每当我运行该项目时,我都会收到此错误:

dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire Referenced from: /Users/theodorestrauss/Library/Developer/Xcode/DerivedData/TGClient-ecnnvvvxipoufihfghkpxlfccyoc/Build/Products/Debug-iphonesimulator/TGClient.framework/TGClient Reason: image not found

我在网上搜索了 GitHub 问题、Stack 文章等。我清理、删除了派生数据,从嵌入式二进制文件中添加和删除了框架,等等。

对于外面的任何人来说,这都不是重复的。所有其他问题和答案都已过时。

如果有人能提供帮助,我将不胜感激。非常感谢。干杯,

西奥

最佳答案

确保您的build设置 > Runpath 搜索路径是

• @executable_path/Frameworks
• $(inherited)

同样在你的框架搜索路径下面有条目

"$PODS_CONFIGURATION_BUILD_DIR/Alamofire"

关于ios - 库未加载 - Alamofire,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45152965/

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