majd / ipatool

Command-line tool that allows searching and downloading app packages (known as ipa files) from the iOS App Store
MIT License
5.37k stars 470 forks source link

iOS argument parsing #102

Closed joshuah345 closed 1 year ago

joshuah345 commented 1 year ago

What happened?

parsing country arg for iOS build of ipatool does not work.

Supposedly the fix was supposed to be in 19196d70cef0710efbdd57c0441434c4959666d4 but that was for macOS only. (ios-project.yml needs to be modified as well)

Version

1.1.4

Relevant log output

iPhone:~ mobile% ipatool download -b com.google.ios.youtube --country=US
Error: The country code is not valid
Usage: ipatool download --bundle-identifier <bundle-identifier> [--country <country>] [--device-family <device-family>] [--output <output>] [--log-level <log-level>] [--purchase]
  See 'ipatool download --help' for more information.
iPhone:~ mobile% ipatool --country US -b com.google.ios.youtube
Error: Unknown option '--country'
Usage: ipatool <subcommand>
  See 'ipatool --help' for more information.
iPhone:~ mobile% ipatool --country US -b com.google.ios.youtube
Error: Unknown option '--country'
Usage: ipatool <subcommand>
  See 'ipatool --help' for more information.
iPhone:~ mobile% ipatool download -b com.google.ios.youtube --country=US
Error: The country code is not valid
Usage: ipatool download --bundle-identifier <bundle-identifier> [--country <country>] [--device-family <device-family>] [--output <output>] [--log-level <log-level>] [--purchase]
  See 'ipatool download --help' for more information.
iPhone:~ mobile%
marco20240618 commented 1 year ago

how to run the ipatool-ios tool? I don't know if there is a terminal for iphone ?

joshuah345 commented 1 year ago

Closing as this refers to the swift version...