3

I am facing an xcode error after pod install, that says enter image description here . while building my app on xcode 8 .My pod is :

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, ‘9.3’

use_frameworks!

target ‘CabGuardPro’ do
    pod 'GoogleMaps','~> 1.10.5'
    pod 'Canvas', '~> 0.1.2'
end

I already have tried all of following links:

1.ld: framework not found Parse Xcode 7 beta
2.Pod Error in Xcode "Id: framework not found Pods"
3.ld: framework not found error in xcode 8

Can anyone please tell me what am I doing wrong,Thanks in advance

Community
  • 1
  • 1
Invictus Cody
  • 517
  • 6
  • 17
  • Try updating CocoaPods using following command in terminal 'sudo gem install cocoapods' . Then do pod install again. – Windindi Nov 03 '16 at 12:07

1 Answers1

0

In my case it was XCode 8.1 - CocoaPods 1.1.1 problem after updating.

Assuming you've already tried following commands in terminal:

  • sudo gem install cocoapods
  • pod install

and it didn't helped


This has fixed it for me:

  1. Open up the workspace.
  2. Click on the blue project icon (that expands into your file tree) on the left hand side of the screen
  3. Just to the right, select "Targets" (as opposed to "Project"--Project is blue, Target is like a pencil and a ruler and a paintbrush making a triangle)
  4. Click on the General tab
  5. Go to the "Linked Frameworks and Libraries" section (all the way at the bottom)
  6. There are two Pods framework
  7. Delete one of them

(can't tell you which one to delete - looks like you need pick one yourself and if it didn't help - then just try to delete another one). In my case there were two, like:

  • Pods.framework
  • Pods_-abstract_target-_-target_name-.framework

And I've deleted the first one.

Andrei Konstantinov
  • 6,971
  • 4
  • 41
  • 57
  • 1
    i already have tried that, that ends with 6 new errors . so eventually i had to remove "Canvas" framework to run my app. Anyway Thanks for the reply – Invictus Cody Nov 11 '16 at 11:37