我遇到此错误但无法解决。我已经尝试清理并再次运行,删除所有pod并再次安装。任何提示?
dyld: Library not loaded: @rpath/AFNetworking.framework/AFNetworking
Referenced from: /private/var/mobile/Containers/Bundle/Application/72522B8C-7F27-41BD-A9E4-FDB2F63F1F5E/MyApp.app/MyApp
Reason: Incompatible library version: MyApp requires version 2.0.0 or later, but AFNetworking provides version 1.0.0
答案 0 :(得分:15)
我遇到了这个问题并尝试了我在此处找到的解决方案https://github.com/CocoaPods/CocoaPods/issues/3903 - 执行“清洁构建文件夹”(产品菜单 - >按住alt
键,Clean
现在应该说Clean Build Folder
)我也做了pod install
,但我认为不重要。
我想删除派生数据文件夹也可以解决问题。