Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alamofire No Such Module (CocoaPods)

Using Xcode 7

I am trying to install Alamofire in a sample project. Have used the instructions from Ray Wenderlich's page

Only change from above link is the podfile -- which is from GitHub page here because the version has been updated. I have also used the Swift 2.0 branch.

Below is the snapshop of the error, my pod file and my terminal post installing the pod

PODFILE enter image description here

TERMINAL enter image description here

P.S: I want to use cocoapods to install Alamofire. I don't want to download it from github page

like image 994
Anuj Arora Avatar asked Sep 08 '15 19:09

Anuj Arora


2 Answers

The Trick for me was to open the .xcworkspace file rather then the original project file itself.

like image 61
danroose Avatar answered Sep 18 '22 08:09

danroose


working this:

 Scheme -> Manage Schemes...  checked Alamofire checkbox → Build Alamofire scheme 

and, if you used Playground , you should change settings Playground:

 View -> Utilities -> Show File Inspector   Platform OSX → iOS 
like image 27
satoshin Avatar answered Sep 20 '22 08:09

satoshin