Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PinterestSDK CocoaPods not working

Has anybody recently successfully used the PinterestSDK CocoaPods? This is the link I used as reference: https://developers.pinterest.com/docs/sdks/ios/

I receive the below error:

Pre-downloading: PinterestSDK from [email protected]:pinterest/ios-pdk.git

[!] Error installing PinterestSDK [!] /usr/bin/git clone [email protected]:pinterest/ios-pdk.git /var/folders/2m/87ls355x7_7b50b61d9h3lkr0000gn/T/d20150924-16277-16zcydf --single-branch --depth 1

Cloning into '/var/folders/2m/87ls355x7_7b50b61d9h3lkr0000gn/T/d20150924-16277-16zcydf'...

Permission denied (publickey).**

fatal: Could not read from remote repository.

Please make sure you have the correct access rights

and the repository exists.

CocoaPods are installed, dependency added in the created Podfile, other Cocoapods don't return the error.

Does anybody have a workaround?

like image 762
asheyla Avatar asked Jan 08 '23 12:01

asheyla


1 Answers

Exactly this line in Podfile helps me to install Pinterest-SDK as Cocoapods:

pod "PinterestSDK", :git => "https://github.com/pinterest/ios-pdk.git"
like image 75
Mr.Fingers Avatar answered Jan 15 '23 20:01

Mr.Fingers