Comments (11)
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.
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.
This issue should be moved to CocoaPods, @phatblat can you do it?
from core.
Moved to CocoaPods/CocoaPods#2002
from core.
Thanks @irrationalfab.
from core.
🍻
from core.
I'm facing these issues yet!
Analyzing dependencies
[!] Unable to satisfy the following requirements:
AFNetworking (= 1.3.4)
required byPodfile.lock
AFNetworking (~> 1.3.0)
required byRestKit/Network (0.20.3)
AFNetworking (~> 2.5)
required byABMSoundCloudAPI (0.1.0)
from core.
@VarshaSameer those dependencies cannot be resolved at all, as you cannot have two versions of the same library in the same codebase.
from core.
So what would be the solution suggested? Can we actually fork those repos and then change the dependencies within the podfiles?
from core.
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.
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)
- warning: URI.escape is obsolete HOT 7
- unable to use plugin slather inside Cocoapods HOT 1
- [Discussion] Improve checksum for git branch based spec HOT 1
- Spelling mistake: perfomed HOT 2
- CDNSource: delete a podspec if corruption is detected HOT 2
- pod spec lint warns about 'readme' and 'changelog' attributes HOT 1
- Are you using a global gitignore to ignore the vendor directory? HOT 1
- CDN_source does not handle http302 response codes
- Please I need clear explanation on how can I change my cocoapods of version 1.9.3 to 1.10.1 version. I have researched online and done update, uninstall and reinstall, yet it didn't work. HOT 2
- Latest version 1.10.1 has CVE-2020-8165 alert HOT 1
- can it support the version 6.0 for activesupport ? HOT 1
- pod install - error message "Couldn't determine repo name for URL ..." on private repo via SSH HOT 10
- Error with pod install: userinfo not supported. [RFC3986] HOT 9
- if this is a bug or Comment error in the class Pod::Podfile::TargetDefinition HOT 3
- [Discussion] Is it possible to remove "PODFILE CHECKSUM" from the lock files? HOT 4
- [Bug] Dependencies of Target B Linking to Target A in a Two Target Project HOT 1
- Documentation Typo: "will be ran" -> "will be run"
- Specification module name HOT 1
- Missing spec repos on Podfile.lock HOT 2
- Version Comparison Issue with Mixed Numeric and String Prerelease Segments HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.