How to remove/reinstall CocoaPods from project

Programming

14 Dec 2015

How to remove/reinstall CocoaPods from project

Artem Hruzd 0 Comments

Easy way to remove CocoaPods from your Xcode project.

gem install cocoapods-deintegrate
pod deintegrate
gem install cocoapods-clean
pod clean

 Then install again:

pod setup
open -a Xcode Podfile

 Uncomment following lines and add libraries to install:

# Uncomment this line to define a global platform for your project
platform :ios, '8.0'
# Uncomment this line if you're using Swift
use_frameworks!

target 'TestProject' do
pod 'GoogleMaps'
end

target 'TestProjectTests' do

end

 Then save file and do:

pod install