doublesymmetry / cocoapods-patch

Patch CocoaPod dependencies without forking ✨
MIT License
69 stars 13 forks source link

Is not clear how create PATCH (cocoapods-patch) #18

Closed temjkn closed 2 years ago

temjkn commented 2 years ago

Report

Please help find mistake, isn't cleared how create Patch using library - cocoapods-patch, I changes FileName, running command from different folders, but without results.

What did you do?

following to instruction install cocoapods-patch ( https://github.com/DoubleSymmetry/cocoapods-patch ) create patch with command - pod patch create MYPATCH

What did you expect to happen?

patch created

What happened instead?

error

Preparing patchable pods for clean patching
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Checking if pod exists in project...
[!] Given pod does not exist in project. Did you use incorrect pod name?

Usage:

    $ pod patch create NAME

      Creates a patch file comparing your local Pod changes to the upstream version
      specified in your Podfile. The patch is saved into the `patches` directory.

Options:

    --allow-root   Allows CocoaPods to run as root
    --silent       Show nothing
    --verbose      Show more debugging information
    --no-ansi      Show output without ANSI codes
    --help         Show help banner of specified command

CocoaPods Environment

ℹ ### Stack

   CocoaPods : 1.11.2
        Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
    RubyGems : 3.0.3
        Host : macOS 11.6.1 (20G224)
       Xcode : 13.1 (13A1030d)
         Git : git version 2.30.1 (Apple Git-130)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git @ 188af9520f02c97ce49a1ef4bee393acc780d159

               trunk - CDN - https://cdn.cocoapods.org/

Installation Source

Executable Path: /usr/local/bin/pod

Plugins

cocoapods-deintegrate : 1.0.5
cocoapods-patch       : 1.0.2
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0

Podfile

platform :ios, '11.0'
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
plugin 'cocoapods-patch'
end
temjkn commented 2 years ago

error in file naming, my current changes was in Flipper-Folly folder, so correct file name is Flipper-Folly