Coder Social home page Coder Social logo

Comments (11)

sharplet avatar sharplet commented on July 19, 2024

I've seen the same behaviour. Unfortunately I can't provide any more detail to the reproduction steps here, however I just want to note that in my case the issue is resolved by running pod update. That is, 1) I run pod install, 2) I compile and notice linker errors (duplicate symbols), and 3) I run pod update which removes the duplicate activated pod version.

from core.

phatblat avatar phatblat commented on July 19, 2024

I also was able to work around this issue with a 'pod update' and the loose ~> 2.0 pod dependency in my Podfile. This is why this issue was so hard to grasp.

I ran 'pod install' because I had added a new, unrelated pod to the Podfile and got two versions of AFNetworking installed and the compiler errors. In chasing down the errors I ran 'pod update', which ignored the Podfile.lock and upgraded to AFNetworking to 2.2.0 since my original Podfile specified a loose 2.0 dependency. Then no errors.

I wasn't satisfied with simply working around these errors and hence created this issue.

from core.

fabiopelosin avatar fabiopelosin commented on July 19, 2024

This issue should be moved to CocoaPods, @phatblat can you do it?

from core.

fabiopelosin avatar fabiopelosin commented on July 19, 2024

Moved to CocoaPods/CocoaPods#2002

from core.

phatblat avatar phatblat commented on July 19, 2024

Thanks @irrationalfab.

from core.

fabiopelosin avatar fabiopelosin commented on July 19, 2024

🍻

from core.

Varsha-Kulkarni avatar Varsha-Kulkarni commented on July 19, 2024

I'm facing these issues yet!
Analyzing dependencies
[!] Unable to satisfy the following requirements:

  • AFNetworking (= 1.3.4) required by Podfile.lock
  • AFNetworking (~> 1.3.0) required by RestKit/Network (0.20.3)
  • AFNetworking (~> 2.5) required by ABMSoundCloudAPI (0.1.0)

from core.

orta avatar orta commented on July 19, 2024

@VarshaSameer those dependencies cannot be resolved at all, as you cannot have two versions of the same library in the same codebase.

from core.

Varsha-Kulkarni avatar Varsha-Kulkarni commented on July 19, 2024

So what would be the solution suggested? Can we actually fork those repos and then change the dependencies within the podfiles?

from core.

orta avatar orta commented on July 19, 2024

You can do that, but they have different APIs, and RestKit is eventually planning on removing AFNetworking which would fix that. For now, you should fork ABMSoundCloudAPI and make it work with AFNetworking 1.x. Probably way easier than the other way around.

from core.

rijieli avatar rijieli commented on July 19, 2024

I am facing the following issue:

I do not want to upgrade the library version for the iOS project, but for visionOS, this library needs to be upgraded to the newest version.

from core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.