我的项目运行良好,但当我添加alamofire,它不工作。如何解决“ld:框架未找到Alamofire”在swift 3
它给下面的错误
ld: warning: directory not found for option '-F/Users/banglafire/Desktop/mysios/Build/Products/Debug-iphonesimulator/Alamofire' ld: framework not found Alamofire clang: error: linker command failed with exit code 1 (use -v to see invocation)
其他信息
Cocopad版本1.3.1
我荚文件
# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'My' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
# Pods for My
pod 'Alamofire'
end
如何解决这个问题呢?请帮忙!
您是否尝试过[在Xcode中的Pod错误“Id:framework not found Pods”](https://stackoverflow.com/a/31161871/4056108) – chirag90
在工作区中的Pods项目的Pods文件夹中查找Alomafire。如果它不在那里,然后将它添加到你的pod文件,pod install does not work。 –
请检查https://stackoverflow.com/questions/29865899/ld-framework-not-found-pods –