Changing an imported library using cocoapods

后端 未结 6 842
不知归路
不知归路 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:01

    You can fork a repository and then add your forked repo as a pod, so say you've forked the repo to https://github.com/tiago/ThePodProject.git, then set the pod to:

    pod 'ThePodProject', :git => 'https://github.com/tiago/ThePodProject.git'
    

    see here for more detail (under "From a podspec in the root of a library repo")

提交回复
热议问题