{"id":13588340,"url":"https://github.com/Mortennn/Notarize","last_synced_at":"2025-04-08T03:33:30.331Z","repository":{"id":56572455,"uuid":"168997516","full_name":"Mortennn/Notarize","owner":"Mortennn","description":"CLI to easily notarize a Mac app","archived":false,"fork":false,"pushed_at":"2022-12-29T00:29:46.000Z","size":18,"stargazers_count":56,"open_issues_count":5,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-11-05T20:34:42.395Z","etag":null,"topics":["automation","buildsystem","cli","macos","notarize"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Mortennn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-03T21:49:42.000Z","updated_at":"2024-10-31T20:43:09.000Z","dependencies_parsed_at":"2023-01-31T07:46:07.461Z","dependency_job_id":null,"html_url":"https://github.com/Mortennn/Notarize","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortennn%2FNotarize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortennn%2FNotarize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortennn%2FNotarize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mortennn%2FNotarize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mortennn","download_url":"https://codeload.github.com/Mortennn/Notarize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223300742,"owners_count":17122680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","buildsystem","cli","macos","notarize"],"created_at":"2024-08-01T15:06:38.965Z","updated_at":"2024-11-06T07:31:24.881Z","avatar_url":"https://github.com/Mortennn.png","language":"Swift","readme":"\u003ch1 align=\"center\"\u003eNotarize\u003c/h1\u003e\n\u003cp align=\"center\"\u003eCommand line tool to easily notarize a Mac app\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cimg src=\"https://badgen.net/github/release/Mortennn/Notarize/stable?label=Release\u0026color=black\" alt=\"latest\"\u003e\n    \u003cimg src=\"https://badgen.net/badge/Swift/5/black\" alt=\"swift5\"\u003e\n    \u003cimg src=\"https://badgen.net/badge/Platform/macOS/black\" alt=\"platform\"\u003e\n    \u003cimg src=\"https://badgen.net/badge/License/MIT/black\" alt=\"license\"\u003e\n\u003c/p\u003e\n\u003cbr\u003e\u003cbr\u003e\nApple recently added a new service where they will check and approve an app to not execute malcious code. It is a great security improvement, but the downside is that this adds a new step in the build system.\n\nThis project is created to make it easy to automate this process.\n\n## Installation\n1. Download the [latest release](https://github.com/Mortennn/Notarize/releases/latest)\n2. Run the install script: `$ ./install.sh`\n\n## Usage\n\n### Example\n```\n$ notarize \\\n    --package \"~/path/to/app.dmg\" \\\n    --username \"mail@icloud.com\" \\\n    --password \"@keychain:AC_PASSWORD\" \\\n    --primary-bundle-id \"com.company.appname.dmg\"\n```\n\n### Description\n```\n$ notarize --help\n\n    Copyright (c) 2019, Morten Nielsen.\n\n    Version: Notarize 1.0.0 NotarizeKit 1.0.0\n\n    Usage: --package \u003cpath\u003e --username \u003cusername\u003e --password \u003cpassword\u003e --primary-bundle-id \u003cprimary-bundle-id\u003e\n\n    Options:\n\n    --package            Path to either DMG or zip file.\n    --username           Email associated with Apple Connect.\n    --password           Password for Apple Connect. Can be plain text, but it is recommended to use \"@keychain:\u003cname\u003e\".\n    --primary-bundle-id  Bundle id of package. e.g. \"com.company.appName.dmg\".\n    --asc-provider       Specify asc provider.\n\n    --help               Display options.\n\n```\n\n## What does it actually do?\n1. Uses `$ xcrun altool` to upload the app package to Apple's servers.\n2. Waits for the app to be notarized. Checks every 30 seconds.\n3. Staples the app package with the generated certificate using `$ xcrun stapler staple \u003cpath\u003e`\n\n## FAQ\n\n* Notarize says the package is invalid?\n    * Notarize will print a UUID, which you can use to see the error log from Apple. The error log can be seen using `$ xcrun altool --notarization-info`\n\n## License\nMIT © [Morten Nielsen](https://github.com/Mortennn)\n","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMortennn%2FNotarize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMortennn%2FNotarize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMortennn%2FNotarize/lists"}