Go to terminal and give following command Target ‘AlamofireSwiftyJSONSampleUITests’ do In Swift you have to add one more line use_frameworks!īelow code change “AlamofireSwiftyJSONSample”, “AlamofireSwiftyJSONSampleTests”, “AlamofireSwiftyJSONSampleUITests” To Project name Add pods to the particular target where you want to use that pod. Open the Podfile using command Or Open directly with double click on “Podfile” in project folderĮdit the pod file with your pods which you want to use and must remember the targets. It will create Podfile in your project’s directory. Navigate to the directory containing your AlamofireSwiftyJSONSample project by using the cd command:Ĭd ~/Path/To/Folder/Containing/AlamofireSwiftyJSONSample ![]() Steps to add Alamofire and SwiftyJSON Pods to your project ![]() Sudo gem install -n /usr/local/bin cocoapods If you are facing issue in EL Capitan or macOS Sierra then use following command : Install CocoaPods by using following command : CocoaPods runs on ruby so update your system.
0 Comments
Leave a Reply. |