cocoapods-patch
cocoapods-patch copied to clipboard
Unknown command: `patch`
Hi there, I've been trying to use this for a workaround but cannot use it out of the box.
This is what I did, as per the readme
➜ ios git:(master) ✗ gem install cocoapods-patch
Successfully installed cocoapods-patch-0.0.9
Parsing documentation for cocoapods-patch-0.0.9
Done installing documentation for cocoapods-patch after 0 seconds
1 gem installed
➜ ios git:(master) ✗ pod patch create folly
[!] Unknown command: `patch`
Did you mean: search?
Is there anything else I need to do? I'm using this with React-Native by the way.
Hi @aprilmintacpineda do you also have cocoa pods installed?
@dcvz I have cocoapods installed and I get the same error and message
@dcvz i have cocoapods installed and i also get the same error message
I get this same error when I removed it from my gemfile. Adding it to my gemfile with cocoapod gets it to work.
"pod" does not find the location of cocoapods-patch.
Check where it was installed then add the folder to the PATH environment variable so that when you type pod, your shell knows where to look for it.
Here's how you can do that:
Open up .bashrc or .zshrc file (depends on what shell you are using) in a text editor. Add this line at the end of file:
export PATH="$HOME/.gem/ruby/2.x.0/bin:$PATH"
("2.x.0" => change to the version you have exactly)