CocoaPods / cocoapods-deintegrate

A CocoaPods plugin to remove and de-integrate CocoaPods from your project.
MIT License
1.08k stars 48 forks source link

Deintegrate with parameter --project-directory not working #42

Open SEK-IOS opened 3 years ago

SEK-IOS commented 3 years ago

Hi, when using pod deintegrate I get the following error:

[!] A valid Xcode project file is required.

Usage:

    $ pod deintegrate [XCODE_PROJECT]

      Deintegrate your project from CocoaPods. Removing all traces of CocoaPods from
      your Xcode project.

      If no xcodeproj is specified, then a search for an Xcode project will be made in
      the current directory.

Options:

    --project-directory=/project/dir/   The path to the root of the project directory
    --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

but when I try to set the --project-directory it always fails with the same error above. pod install is working fine with the --project-directory parameter.