altool cli --package-upload is not complete

My package file

I've already made a .dmg in package directory. And also I succeed to it notarization with I compressed it as package.zip including .dmg file.

$ xcrun notarytool submit "${APP_NAME}.dmg" --keychain-profile "${KEYCHAIN_PROFILE_NAME}" --wait

xcrun stapler staple -v "${APP_NAME}.dmg"

I've already succeed this.

I'm not using XCode since my project is based on golang + fyne-io

My CLI

I refer to this docs

xcrun altool --upload-package package.zip \
-t macos \
--apple-id [My-ID] \ 
--bundle-id [My-Bundle-ID] \
--bundle-version "1.0.0" 
--bundle-short-version-string "1.0.0"
-p @keychain:[my-key-chain-name]

Log

This is pending infinitely, stucked at the log with as shown below.

2023-03-26 22:30:28.854 DEBUG: Executing: /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework/Versions/A/Support/swinfo -f /Users/Falcon/Library/Caches/com.apple.cds/com.apple.cds_9A7BC564-05C5-4282-A44B-A962B3B81E24/package.zip --extra-args /var/folders/6t/p_00vyw16lq42rfmmg06gc8w0000gn/T/swinfo-extra-args-4D56CCB5-6072-4604-927A-66B1214D300B.plist -o /var/folders/6t/p_00vyw16lq42rfmmg06gc8w0000gn/T/asset-description-28F756A6-8B00-4F07-B96C-FDC45F67AEE1.xml --plistFormat binary --output-spi

This is stucked... not finished at all.

How Can I submit my .dmg which is notarizationed with package.zip without xcode submit process?

Replies

Let’s start by clarifying your goals. macOS supports two separate distribution channels:

  • Mac App Store

  • Independent distribution using Developer ID signing

Which channel are you trying to use? Or are you trying to do both?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • @eskimo Thank for your interesting this question. I want to publish this app on Mac App Store!

Add a Comment