I am trying to install alamofire into my project so I can upload images to my server, however I cannot seem to find the alamofire.framework
file. I have downloaded
This work fine for me !
Use Cocoapods to integrate Alamofire in your project:
To add Alamofire into your project please do the following steps:
add the below lines into your pod file.
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Alamofire', '~> 2.0'
You just need to change Framework Search Paths
to $(inherited)
.
P.S: Build Settings -> Search Paths -> Framework Search Paths
Not stupid!
Once it's linked it doesn't necessarily exist on your device, this ensures it will.
I was also facing the same issue, and '$(inherited)' was missing in Target -> Build Settings ->Framework Search paths. Giving this fixed my issue.
You have to open yourprojectname.xcworkspace
You might get this error if you are opening your .xcworkproj instead of workspace