Version: 2023.1
언어: 한국어
Notarize with Xcode and command-line tools
Deliver applications to the Mac App Store

Notarize with altool

Use the following information to notarize your application with altool.

Note: Apple will deprecate the use of altool for notarization in November 2023. It’s recommended to update to notarytool for notarization before this date. For more information, refer to Migrating to the latest notarization tool.

Create a provider short name

A provider short name is a single-word label that identifies an individual or a company. Apple uses a provider short name to locate which organization to notarize for. To get your provider short name:

  1. 터미널을 엽니다.
  2. 다음 위치에 있는 Xcode 커맨드를 실행합니다.
xcrun iTMSTransporter -m provider -u apple_id -p xxxx-xxxx-xxxx-xxxx

Upload the application

For Apple to notarize your application, you need to upload it to their notarization servers. To do this, use the following steps:

  1. Open Terminal and navigate to the directory the compressed application is in.
  2. 다음의 위치에 있는 커맨드를 실행합니다.
xcrun altool 
    --notarize-app 
    --username apple_id 
    --password xxxx-xxxx-xxxx-xxxx 
    --asc-provider provider_short_name 
    --primary-bundle-id application_bundle_id 
    --file application_name.zip

If the upload is successful, Apple displays a response in Terminal that has a request ID. You can use this request ID to check the status of your request as the notarization process might take multiple hours depending on the traffic to the service.

When the notarization process is complete, Apple sends confirmation to the email address associated with your Apple ID. You can verify that the application notarized successfully using the following steps:

  1. 터미널을 열고 애플리케이션이 있는 디렉토리로 이동합니다.
  2. 다음의 위치에 있는 커맨드를 실행합니다.
    • application_name.app는 애플리케이션 이름입니다.
spctl -a -v application_name.app

Check the status of your request

To check the status of your notarization request, use the following steps:

  1. Open Terminal and navigate to the directory the compressed application is in.
  2. 다음의 위치에 있는 커맨드를 실행합니다.
    • request_id is the request ID that Apple returns when uploading your application for notarization.
    • apple_id는 Apple ID입니다.
    • xxxx-xxxx-xxxx-xxxx is your application password.
    • provider_short_name공급자 약칭입니다.
xcrun altool 
    --notarization-info request_id 
    --username apple_id 
    --password xxxx-xxxx-xxxx-xxxx 
    --asc-provider provider_short_name

Staple the application

To let a device verify your application without an internet connection, you must staple the application. For more information, refer to Staple the application.

추가 리소스

Notarize with Xcode and command-line tools
Deliver applications to the Mac App Store