skip to Main Content

iOS project on Xcode.
We do not keep the POD files as part of our repo.
A new change is needed and it is on a file from one of the PODS.
How do I go about committing such a change to the repo?

2

Answers


  1. but how do I make our repo use the forked pod

    You can try and copy the SHA1 of your fix from your forked repository, and update your Podfile with it, as described in "CocoaPods and GitHub forks", follwoed by a pod update.

    Login or Signup to reply.
  2. You can create a fork of the repo, make the change to a given branch, and then point your pod file to your repo + branch like this:

    pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'dev'
    

    Or you can open a pull request and ask the owner to pull in your change. Depending on what your change does

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search