Changing an imported library using cocoapods

后端 未结 6 843
不知归路
不知归路 2021-02-03 22:52

I am working on a project using cocoapods and suddenly I see myself doing some changes in one of the libraries. How can I ensure that those changes will never be override by a <

6条回答
  •  不思量自难忘°
    2021-02-03 23:10

    You are close to having it working with your forked repository.

    I just tried it with the following Podfile:

    pod 'WhirlyGlobe', :git => 'https://github.com/tiagoalmeida/WhirlyGlobe'
    

    It downloaded WhirlyGlobe and then failed because hg was missing. I simply installed it using Homebrew: brew install mercurial and then runnning pod install was able to install all the dependencies.

    The project compiles, but I'm not sure it works, go ahead and try it.

    Be aware that it took a really long time to download and compile all the dependencies (shapelib in particular).

提交回复
热议问题