Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Notarize macosapp #14754

Closed
wants to merge 1 commit into from
Closed

Notarize macosapp #14754

wants to merge 1 commit into from

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented May 23, 2019

Notarize macosapp when packaging a release of the macOS map SDK, so macOS users can more easily open the application without jumping through Gatekeeper hoops.

To do:

  • Opt into notarization when using ExportOptions.plist
  • Add the Hardened Runtime entitlement to the project
  • Set ENABLE_HARDENED_RUNTIME=YES in invocations of xcodebuild in package.sh (as opposed to inside the project, so non–Mapbox team members can continue to build ad-hoc)
  • Add a post-archive action to the scheme that exports the application for notarization
  • Invoke xcrun altool in package.sh
  • Split out a separate make rule that invokes xcrun stapler staple and completes the deployment process, to be run after notarization succeeds

Fixes #14753.

/cc @friedbunny @frederoni

@1ec5 1ec5 added build macOS Mapbox Maps SDK for macOS ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold labels May 23, 2019
@1ec5 1ec5 added this to the release-oolong milestone May 23, 2019
@1ec5 1ec5 self-assigned this May 23, 2019
@1ec5 1ec5 mentioned this pull request May 23, 2019
@stale stale bot added the archived Archived because of inactivity label Jul 22, 2019
@stale
Copy link

stale bot commented Jul 22, 2019

This pull request has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

@1ec5
Copy link
Contributor Author

1ec5 commented Mar 10, 2020

The saga continues in mapbox/mapbox-gl-native-ios#204.

@1ec5 1ec5 closed this Mar 10, 2020
@1ec5 1ec5 deleted the 1ec5-macos-notarized branch March 10, 2020 09:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
build ⚠️ DO NOT MERGE Work in progress, proof of concept, or on hold macOS Mapbox Maps SDK for macOS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notarize macosapp
1 participant