CocoaPods and GitHub forks

后端 未结 2 1235
感动是毒
感动是毒 2020-12-04 05:58

This is my first time forking a GitHub project, and I\'m not too competent with CocoaPods either, so please bear with me.

Basically, I forked a project on GitHub usi

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-04 06:10

    Another option is to have your project reference the pod directly and not via github. This way you don't have to keep committing your fork or copying/pasting code just to test your changes. You can work with two different Xcode projects simultaneously and commit separately into their respective projects.

    pod 'AFNetworking', :path => '~/Documents/AFNetworking'
    

    CocoaPods Documentation: http://guides.cocoapods.org/using/the-podfile.html#using-the-files-from-a-folder-local-to-the-machine

    enter image description here

提交回复
热议问题