Created
March 26, 2015 15:28
-
-
Save cobysy/36f7a6471b54161e1473 to your computer and use it in GitHub Desktop.
How to patch a library imported with Cocoapods
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to patch a library imported with Cocoapods | |
Forking the library, applying your patch, and pointing to your fork in the Podfile would be your best option. | |
If the library contains the podspec: | |
``` | |
pod '<library>', :git => 'https://github.com/yourname/<library>.git' | |
``` | |
If the library does not contain the podspec, you have to copy the podspec to a local path and adjust it: | |
``` | |
pod '<library>', :podspec => 'local/path/to/<library>.podspec' | |
``` | |
http://stackoverflow.com/questions/16821838/how-to-patch-a-library-imported-with-cocoapods |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment