Alamofire No Such Module (CocoaPod)
Alamofire No Such Module (CocoaPod)
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
P.S: I want to use cocoapods to install Alamofire. I don't want to download it from github page
Answer by Suraj for Alamofire No Such Module (CocoaPod)
Try this one.
For Swift 2.0 there is no need to add Alamofire.xcodeproj into your xcode. Simply copy and paste source folder from https://github.com/Alamofire and you are done.
or if you want to install Alamofire from Cocoapods then try below code.
source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' use_frameworks! pod 'Alamofire', '~> 2.0' Answer by satoshin for Alamofire No Such Module (CocoaPod)
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
Answer by danroose for Alamofire No Such Module (CocoaPod)
The Trick for me was to open the .xcworkspace file rather then the original project file itself.
Answer by MrMins for Alamofire No Such Module (CocoaPod)
I cloned the Alamofire using git in my swift project directory with: git clone https://github.com/Alamofire/Alamofire.git
Now, in the Build Phases, I added Alamofire to: Target Dependency, Link Binaries with Libraries and I added a new New copy files phase (In the left corner with a plus icon) and renamed it as Copy Frameworks and I changed the destination to Frameworks (by default Resources).
Now, In the General tab you have referenced Alamofire in Embed binaries and Linked frameworks and libraries.
Now, you can use the line:
Import Alamofire in your project.
Answer by Dimitri T for Alamofire No Such Module (CocoaPod)
import Alamofire after importing UIKit Then comment it out, build the project first. Uncomment it. (this worked for me, and others, when the other answers did not).
Fatal error: Call to a member function getElementsByTagName() on a non-object in D:\XAMPP INSTALLASTION\xampp\htdocs\endunpratama9i\www-stackoverflow-info-proses.php on line 72

0 comments:
Post a Comment