I'm new to iOS Development, I installed Alamofire as said in README, but I have this error as other users and I don't know how to solve it.
2019 UPDATE
If you have this error and you use 'alamofire5' branch just change Alamofire.request
to AF.request
.
if you are using new Alamofire 5.xxx
then you will use AF
instead of Almofire
it like that
AF.upload(multipartFormData: <#T##(MultipartFormData) -> Void#>, to: <#T##URLConvertible#>)
AF.request(<#T##url: URLConvertible##URLConvertible#>)
AF.download(<#T##url: URLConvertible##URLConvertible#>)
I solved this issue by changing the Build Active Architectures Only settings.
Click on your project in the Project Explorer, select Build Settings, locate Architectures section, and change the Build Active Architecture Only setting to Yes for Debug and No for Release.
Hope this will work for you.
Alamofire.xcodeproj -> Build Phases -> Complie Sources
If (0 item), then "[+] Alamofire.swift".
It's OK :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With