Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

CocoaPods and Carthage

I had a project with both Carthage and Cocoapods. They both have one common dependency (PureLayout, to be precise). Strange, but project compiles fine without any errors about class redeclaration, etc. So the question is: why it works and which version of dependency is actually used when I call PureLayout's methods – Carthage's or Cocoapods' one?

Answer*

Draft saved
Draft discarded
Cancel
1
  • Yes, if I didn't link project with framework built by Carthage there will be no surprise that Cocoapods version works. But I did. It's in Linked Frameworks and Libraries section now. That's why I'm surprised. Commented Jun 10, 2016 at 9:40

lang-swift

AltStyle によって変換されたページ (->オリジナル) /