Trying to upload an application for Notarization, fails with the following error message.
Any ideas?
2021-04-22 12:32:29.127 altool[71379:2755143] Error:
Error: Could not find or load main class Drive.Moved
Caused by: java.lang.ClassNotFoundException: Drive.Moved
2021-04-22 12:32:29.138 altool[71379:2755143] Out:
?xml version="1.0" encoding="UTF-8"?
!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "urlsNotAllowedInSupportForums"
plist version="1.0"
dict
keyos-version/key
string11.2.3/string
keyproduct-errors/key
array
dict
keycode/key
integer-18000/integer
keymessage/key
stringCould not find or load main class Drive.Moved/string
keyuserInfo/key
dict
keyNSLocalizedDescription/key
stringCould not find or load main class Drive.Moved/string
keyNSLocalizedFailureReason/key
stringCould not find or load main class Drive.Moved/string
keyNSLocalizedRecoverySuggestion/key
stringCould not find or load main class Drive.Moved/string
/dict
/dict
/array
keytool-path/key
string/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/Frameworks/AppStoreService.framework/string
keytool-version/key
string4.029.1194/string
/dict
/plist
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Because the receipt file doesn't exist at the following path, my application exits with error code 173.
/Applications/Notched Up.app/Contents/_MASReceipt/receipt
However unlike in the past where it then re-launches and works, I'm now getting the error message that this application is damaged and must be re-downloaded from the App Store.
In the console I see the following messages.
error 12:35:02.553477+0800 Notched Up (com.apple.libsqlite3) cannot open file at line 45340 of [d24547a13b]
error 12:35:02.553498+0800 Notched Up (com.apple.libsqlite3) os_unix.c:45340: (2) open(/var/db/DetachedSignatures) - No such file or directory
default 12:35:04.481080+0800 storeuid (com.apple.commerce) Fetching missing receipt for sandbox app /Applications/Notched Up.app
default 12:35:04.707374+0800 storelegacy (com.apple.commerce) StoreLegacy: Failed to perform in-line receipt renewal for application at path /Applications/Notched Up.app : 'Error Domain=com.apple.commerce.client Code=500 "(null)"'
My gut is telling me that something internal related to the App Store isn't working correctly as this code was functional a couple of weeks ago and while the first two lines show sql, this app doesn't use sqlite.
App is signed with "Apple Distribution".
Have tested app with "Apple Development".
Have removed entitlements that need a profile and the provisioning profile.
The App Store application shows the correct "Sandbox" tester account (in the preferences).
I've logged the test account out and back in.
I've verified that tester account is the same store locale as my main account.
I've rebooted this i9 16" MBP running macOS 12.0.1, even thought it rebooted itself last night, because ????
Any advice, can you spot something I've done wrong?
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
Mac App Store
In-App Purchase
App Store Receipts
I have a really simple profile, the entitlements are as follows.
<key>Entitlements</key>
<dict>
<key>com.apple.application-identifier</key>
<string>QXAFMEPH6X.com.ohanaware.aquaSwatch</string>
<key>com.apple.developer.team-identifier</key>
<string>QXAFMEPH6X</string>
<key>keychain-access-groups</key>
<array>
<string>QXAFMEPH6X.*</string>
</array>
</dict>
However when I add the keychain-access-groups to the code signing entitlements.
<key>com.apple.security.app-sandbox</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>keychain-access-groups</key>
<array>
<string>QXAFMEPH6X.com.ohanaware.aquaSwatch</string>
</array>
The application crashes on launch.
Exception Type: EXC_CRASH (Code Signature Invalid)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: Namespace CODESIGNING, Code 0x1
I think I may have misunderstood Quinn's excellent article on Provision Profiles, because I assumed that the wildcard in the Profile, allowed me to use any identifier as long as the team id was correct.
https://developer.apple.com/forums/thread/685723
Thank you for any asssitance
Sam Rowlands
Hi All,
Trying to validate some altool credentials, produces this error message.
"Failed to get authorization for username '<username/>' and password with errors:( "Error Domain=NSCocoaErrorDomain Code=0 "Status code: 0" UserInfo={NSLocalizedDescription=Status code:0, NSLocalizedFailureReason=The auth server returned a bad status code.}")
This is returned when altool is called in the following way.
xcrun altool --notarization-history 0 -u <username/> -p <password/> --output-format xml
macOS 11.2.3 and Xcode 12.5
Things that have been tried already.
Making sure the Apple system status page shows no issues.
Different networks.
Checked to see if any agreements need to be "activated".
Recreated the app-specific password multiple times.
Any other suggestions?
@Quinn - Hi Quinn, it's Sam Rowlands (again) and this is with another App Wrapper customer experiencing this issue (so not me directly).