fastlane plugin to notarize a macOS app 🛂
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fastlane Update README.md Jan 5, 2019
lib/fastlane/plugin Fixed issue when Info.plist path contains spaces Jan 18, 2019
spec Remove test, adding a TODO Jan 5, 2019
.gitignore Add project Jan 5, 2019
.rspec Add project Jan 5, 2019
.rubocop.yml Add project Jan 5, 2019
Gemfile Add project Jan 5, 2019
LICENSE Add project Jan 5, 2019
README.md List CI environments alphabetically Jan 10, 2019
Rakefile Add project Jan 5, 2019
fastlane-plugin-notarize.gemspec Update README.md Jan 5, 2019

README.md

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.)

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.