Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cocoapods circular dependency issue

Tags:

ios

cocoapods

I've installed the new cocoapods-0.35.0.rc2, and since that moment my project got totally messed up. I installed it by doing: 'sudo gem install cocoapods --pre' immediately afterwards I've updated the libraries by doing: 'pod install'.
However since that moment I receive the same error in the terminal: 'There is a circular dependency between XMPPFramework/Core and XMPPFramework/Authentication' enter image description here

This error did not appear in the past and no matter what I try:

  1. Installing cocoapods-0.34.4 instead of cocoapods-0.35.0.rc2
  2. Removing XMPPFramework from the Podfile.
  3. Removing all the files from the Podfile.
  4. Cleaning the project
  5. Deleting the content of the DerivedData
  6. Discard all changes... and getting back to the version that used to work.

None of the above helped, I am quite sure that it is not directly related to the XMPPFramework as it did not have any new release lately.

Does anyone know how to solve such situations?

Thanks!

like image 602
Shachar Avatar asked Nov 07 '14 22:11

Shachar


3 Answers

Installation of cocoapods 0.34.1 fixed it for me.

like image 80
Walty Yeung Avatar answered Sep 27 '22 21:09

Walty Yeung


It looks like this spec currently has circular dependency issues. This issue is being tracked here for all the specs that have similar issues.

like image 35
Keith Smiley Avatar answered Sep 27 '22 21:09

Keith Smiley


Until it's fixed you can remove XMPPFramework by removing it from the Podfile and running pod update, not pod install.

like image 38
mattsson Avatar answered Sep 27 '22 20:09

mattsson