8

I'm trying to fix this issue for hours, but it still persists. Tried everything on the forums, nothing helped. I'm using Cocoapods latest version 1.2.0.beta.1 When I try to build the project, it gives me this: enter image description here

9 Answers 9

11

For me (Xcode 9) pod install on its own did not fix it. Tried it with:

pod deintegrate
pod install

And the error disappeared.

You might also want to consider deleting the derived data folders for this project. The location of DerivedData is in your error log.

Sign up to request clarification or add additional context in comments.

Comments

8

Here is what I did to remove this error. Please try with below:

  1. Click on main project file.
  2. Goto the Build Phases.
  3. Click on run Script and delete any given path in it so that it does not try to find some framework that has been deleted by you.

I had this problem when I used to check the crash Analytics with the different frameworks like "Test Fairy".

Hope this works. :)

1 Comment

Thank you! Was removing firebase from an old app and this was it
7

Install the pods once again and run the project. Using command:

pod install

1 Comment

just applied , still failed to build
6

I just deleted cocoapods beta version and installed the normal one.

Comments

2

My solution was restarting my computer. Xcode must have got into a bad state that restarting Xcode itself was not enough to fix.

Comments

1

Here is what I did when I got this:

  1. Used this site to completely remove All Versions of cocoapods: https://superuser.com/questions/686317/how-to-fully-uninstall-the-cocoapods-from-the-mac-machine
  2. Re-installed current stable version of cocoapods (v1.1.1 for me)
  3. Deleted podlock and pods directory
  4. Deleted old .xcworkspace file (this was key for me).
  5. Did "pod install"
  6. Opened xcode and cleaned project and deleted derivedData.

Comments

0

I'm using Carthage, the reason these errors came out was because I changed the target iOS version from iOS 10 to iOS 9, I solved this problem by running carthage update again.

Comments

0

I have just updated my pods again and It started working.

Thanks!

Comments

-1

Just go to the Terminal and find your file and type in "pod install", that will solve the problem.

1 Comment

This solution has already been posted. Also, one-liners are generally not considered very good answers.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.