fastlane-community / fastlane-plugin-validate_app

Validate your app with altool before uploading to iTunes Connect

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

validate_app plugin

fastlane Plugin Badge CircleCI

Getting Started

This project is a fastlane plugin. To get started with fastlane-plugin-validate_app, add it to your project by running:

fastlane add_plugin validate_app

About validate_app

This plugin validates your ipa file using Application Loader's command line tool altool. By default, it will take your Apple ID username from your Appfile and password from yoru Keychain. You may specify a password directly or pass it via FASTLANE_PASSWORD or DELIVER_PASSWORD environment variables. If you use 2 factor authentication, you may specify the application specific password for the Application Loader tool via ALTOOL_2FA_PASSWORD. This will take precedence over your Apple ID's password. Your password will not be printed out to build console log.

Returns nil if build is valid, and an array of error objects if build is invalid


errors = validate_app(
  ipa: "YourApp.ipa"

if errors.nil?
  UI.user_error! "IPA file did not pass validation."

Run tests for this plugin

To run both the tests, and code style validation, run


To automatically fix many of the styling issues, use

rubocop -a

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.


If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out

ezoic increase your site revenue


Validate your app with altool before uploading to iTunes Connect

License:MIT License


Language:Ruby 100.0%