This started happening this Thursday, and hasn't seemed to have gotten better since; every time I try to notarize my app, it fails.
The app is signed:
$ codesign -vv Pacifist.app
Pacifist.app: valid on disk
Pacifist.app: satisfies its Designated Requirement
$ codesign -dvv Pacifist.app
Executable=##redacted##/Pacifist.app/Contents/MacOS/Pacifist
Identifier=com.charlessoft.pacifist
Format=app bundle with Mach-O universal (x86_64 arm64)
CodeDirectory v=20500 size=12004 flags=0x10000(runtime) hashes=364+7 location=embedded
Signature size=9009
Authority=Developer ID Application: Charles Srstka (HRLUCP7QP4)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=Dec 11, 2021 at 12:36:01 PM
Info.plist entries=39
TeamIdentifier=HRLUCP7QP4
Runtime Version=12.0.0
Sealed Resources version=2 rules=13 files=428
Internal requirements count=1 size=216
$ spctl -a -v --raw Pacifist.app
Pacifist.app: accepted
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>assessment:authority</key>
<dict>
<key>assessment:authority:flags</key>
<integer>2</integer>
<key>assessment:authority:row</key>
<integer>6</integer>
<key>assessment:authority:source</key>
<string>Developer ID</string>
</dict>
<key>assessment:remote</key>
<true/>
<key>assessment:verdict</key>
<true/>
</dict>
</plist>
Looks good, right?
But since Thursday, notarytool
isn't having it:
$ xcrun notarytool submit Pacifist.zip --apple-id ###redacted### --team-id HRLUCP7QP4 --wait
Conducting pre-submission checks for Pacifist.zip and initiating connection to the Apple notary service...
Password for ###redacted###:
Submission ID received
id: eaa1e96e-38d0-4d6d-ad0f-bc58564b7eca
Successfully uploaded file77.6 MB of 77.6 MB)
id: eaa1e96e-38d0-4d6d-ad0f-bc58564b7eca
path: ###redacted###/Pacifist.zip
Waiting for processing to complete.
Current status: Invalid.............
Processing complete
id: eaa1e96e-38d0-4d6d-ad0f-bc58564b7eca
status: Invalid
Trying to export from Xcode's "Organizer" window actually crashes Xcode. I can provide the crash log upon request, although since I've clicked the "Send to Apple" button each time, this should be available for Apple engineers to look at.
What sometimes works is to use xcrun xcodebuild -exportArchive
. However, this is not 100%, and so far all the times that that has worked have been when I've run the tool by hand; for some reason, running as a post-archive action fails every time (I don't know if this is just a weird coincidence or not).
The status page for Apple's services seems to be all green... What is going on? Is anyone else running into this same issue?