
أداة سطر أوامر تتيح البحث عن حزم التطبيقات (المعروفة بملفات ipa) وتنزيلها من متجر تطبيقات iOS
ipatool هي أداة سطر أوامر تتيح لك البحث عن تطبيقات iOS على App Store وتنزيل نسخة من حزمة التطبيق، والمعروفة باسم ملف ipa.

يمكنك الحصول على أحدث إصدار من ipatool من إصدارات GitHub.
يمكنك تثبيت ipatool باستخدام Homebrew.
$ brew install ipatool
للمصادقة مع App Store، استخدم أمر auth.
Authenticate with the App Store
Usage:
ipatool auth [command]
Available Commands:
info Show current account info
login Login to the App Store
revoke Revoke your App Store credentials
Flags:
-h, --help help for auth
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--non-interactive run in non-interactive session
--verbose enables verbose logs
Use "ipatool auth [command] --help" for more information about a command.
للبحث عن التطبيقات على App Store، استخدم أمر search.
Search for iOS and tvOS apps available on the App Store
Usage:
ipatool search <term> [flags]
Flags:
-h, --help help for search
-l, --limit int maximum amount of search results to retrieve (default 5)
--platform string Platform to search: iphone, ipad, or appletv
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--non-interactive run in non-interactive session
--verbose enables verbose logs
للحصول على ترخيص لأحد التطبيقات، استخدم أمر purchase.
Obtain a license for the app from the App Store
Usage:
ipatool purchase [flags]
Flags:
-b, --bundle-identifier string Bundle identifier of the target iOS app (required)
-h, --help help for purchase
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--non-interactive run in non-interactive session
--verbose enables verbose logs
للحصول على قائمة بإصدارات التطبيقات المتاحة للتنزيل، استخدم أمر list-versions.
List the available versions of an iOS app
Usage:
ipatool list-versions [flags]
Flags:
-i, --app-id int ID of the target iOS app (required)
-b, --bundle-identifier string The bundle identifier of the target iOS app (overrides the app ID)
-h, --help help for list-versions
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--keychain-passphrase string passphrase for unlocking keychain
--non-interactive run in non-interactive session
--verbose enables verbose logs
لتنزيل نسخة من ملف ipa، استخدم أمر download.
Download (encrypted) iOS and tvOS app packages from the App Store
Usage:
ipatool download [flags]
Flags:
-i, --app-id int ID of the target iOS app (required)
-b, --bundle-identifier string The bundle identifier of the target iOS app (overrides the app ID)
--external-version-id string External version identifier of the target iOS app (defaults to latest version when not specified)
-h, --help help for download
-o, --output string The destination path of the downloaded app package
--platform string Platform to download for: iphone, ipad, or appletv
--purchase Obtain a license for the app if needed
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--keychain-passphrase string passphrase for unlocking keychain
--non-interactive run in non-interactive session
--verbose enables verbose logs
لحل معرّف الإصدار الخارجي، الذي يُرجعه أمر list-versions، استخدم أمر get-version-metadata.
Retrieves the metadata for a specific version of an app
Usage:
ipatool get-version-metadata [flags]
Flags:
-i, --app-id int ID of the target iOS app (required)
-b, --bundle-identifier string The bundle identifier of the target iOS app (overrides the app ID)
--external-version-id string External version identifier of the target iOS app (required)
-h, --help help for get-version-metadata
Global Flags:
--format format sets output format for command; can be 'text', 'json' (default text)
--keychain-passphrase string passphrase for unlocking keychain
--non-interactive run in non-interactive session
--verbose enables verbose logs
ملاحظة: تعمل الأداة في الوضع التفاعلي افتراضيًا. استخدم العلم --non-interactive إذا كنت تعمل في بيئة آلية.
يمكن تجميع الأداة باستخدام سلسلة أدوات Go.
$ go build -o ipatool
يمكن تنفيذ اختبارات الوحدة باستخدام الأوامر التالية.
$ go generate github.com/majd/ipatool/...
$ go test -v github.com/majd/ipatool/...
تم إصدار IPATool بموجب رخصة MIT.