Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pod install won't install the pods

I'm having an issue when running the pod install.

This is how my pod file looks like:

platform :ios, '8.0'

target 'Template1' do


pod "PinterestSDK", :git => "https://github.com/pinterest/ios-pdk.git"

end

But it won't install the pods,once i execute pod install , this is the output it gives.

Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project

[!] Please close any current Xcode sessions and use `Template1.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 0 dependencies from the Podfile and 0 total
pods installed.

[!] The Podfile does not contain any dependencies.

I'm not sure what's wrong.

like image 556
posha Avatar asked Feb 07 '23 03:02

posha


1 Answers

  1. Delete "Pods" directory from your project directory(if exist)

  2. In terminal, $open -a xcode Podfile

  3. Use this: (Podfile)

    platform :ios, '8.0'

    target 'Template1' do

    pod “PinterestSDK”

    end

  4. In terminal, $ cd YOUR_PROJECT_PATH

  5. pod install

like image 111
KSR Avatar answered Feb 08 '23 16:02

KSR