skip to Main Content

I am trying to add Google-Mobile-SDK into my Xcode project by using CocoaPods. I have created podFile to my project. enter image description here

Then, in this podFile, I added this line pod ‘Google-Mobile-Ads-SDK’ enter image description here

Then in terminal, I typed cd Desktop/testBanner5. testBanner5 is name of my project.
Then I typed pod install and pressed enter. I was expecting that this will download Google-Mobile-SDK. Instead, it showed me this: enter image description here

enter image description here

enter image description here

What should I do in order to fix that problem?

2

Answers


  1. try delete pod "Google-Mobile-SDK" and execute pod install in terminal. if you have same error, best way reinstall cocoapods

    Login or Signup to reply.
  2. sorry I am wrong.

    target 'testBanner5' do
     pod "Google-Mobile-SDK"
    end
    
    target 'testBanner5Test' do
     #pod "Google-Mobile-SDK"
    end
    
    target 'testBanner5UITest' do
     #pod "Google-Mobile-SDK"
    end
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search