I've used Carthage a bit and am trying to understand how to do the same thing in Cocoapods. Basically I have a Core framework that depends on another framework. While developing Core, I can pull in my dependency with
git "file:///pathtodependencyframework" "development-branch"
In Cocoapods, I'd like to first know how I can refer to this framework locally. I tried adding this under the Project Linking section
s.framework = "DependencyFramework", :path => '~/pathtodependencyframework'
But I get, failed to load podspec. File: syntax error, unexpected =>, expecting key word_end
I also see that there's a Project Settings s.dependency
. What is the proper way to refer to a dependency framework that does work with Carthage locally in Cocoapods? Does the dependency framework need a podspec itself? Currently it does not have one since Carthage does not require it.
Secondly, how would the proposed solution change once I'm ready to release and put it on Github?