Giter VIP home page Giter VIP logo

fastlane-plugin-validate_app's Introduction

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

Example

errors = validate_app(
  ipa: "YourApp.ipa"
)

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

Run tests for this plugin

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

rake

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.

Troubleshooting

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 fastlane.tools.

fastlane-plugin-validate_app's People

Contributors

thii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

fastlane-plugin-validate_app's Issues

altool: No such file or directory

Hi,
I use version: fastlane-plugin-validate_app | 0.3.0 | validate_app

when I add validate_app command in my fastfile, I get

/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool: No such file or directory

Maybe newer xcode versions should use the: "xcrun altool" command instead?
I use xcode Version 11.2.1 (11B500)
OS: Version 10.15.1 catalina

I applied the change on: https://github.com/fastlane-community/fastlane-plugin-validate_app/blob/master/lib/fastlane/plugin/validate_app/actions/validate_app_action.rb

and it seems I got it working again.
Cheers

Support using an API key for App Store Connect

Now that API keys can be generated for App Store Connect, App Specific Passwords are deprecated.

altool has support for --apiKey and --apiIssuer arguments that can be used for this.

I would be happy to work on a PR, but I wanted to check if you are interested (or already working on it) before I start.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.