GithubHelp home page GithubHelp logo

isabella232 / fastlane-plugin-notarize Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zeplin/fastlane-plugin-notarize

0.0 0.0 0.0 51 KB

fastlane plugin to notarize a macOS app ๐Ÿ›‚

License: MIT License

Ruby 100.00%

fastlane-plugin-notarize's Introduction

Deprecated

Notarize action is now officially a part of fastlane. ๐Ÿฆ„ The plugin will be no longer be supported and further improvements and fixes will be made on the official action. Please migrate over to the new action by simply removing the plugin from your Pluginfile and updating Fastlane to the latest version.

fastlane notarize plugin fastlane Plugin Badge

fastlane plugin to notarize a macOS app. ๐Ÿ›‚

Notarize plugin provides a notarize action to upload an app to Apple's notarization service, querying the result periodically until it's completeโ€”which currently takes around 2 minutes. In case of success, it staples the app with the notarization ticket. In case of failure, it prints the log file listing all the issues.

Getting started

To get started, add it to your project:

fastlane add_plugin notarize

Update your Fastfile to use the notarize action:

notarize(
    package: app_path, # Path to package to notarize, e.g. .app bundle or disk image
    bundle_id: bundle_id # Not required for .app bundles, bundle identifier to uniquely identify the package.
)

This action should prompt you for an Apple ID and password, using fastlane's built-in credentials manager. To use the action in a CI environment like Bitrise, CircleCI or Travis CI, you can set FASTLANE_USER and FASTLANE_PASSWORD environment variables. (Make sure to use secret environment variables, specifically for the password.)

The tool also stores the log file url in an environment variable called FL_NOTARIZE_LOG_FILE_URL for further use after the notarization. The log file contains information about errors and/or warnings that arose during notarization.

Example

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running bundle exec fastlane test.

Testing

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

rake

To automatically fix many of the styling issues, use:

rubocop -a

Troubleshooting

If you have trouble using fastlane plugins, check out fastlane's Plugins Troubleshooting guide.

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.

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

fastlane-plugin-notarize's People

Contributors

berkcebi avatar cyrusingraham avatar jnross avatar nekrich avatar neonowy avatar yigitcanyurtsever avatar

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.