Notarization error

I have used the same notarization commands many times on Mojave and Catalina.. but now when I have upgraded to Big Sur and am trying to notarize as I always do I get an error when I issue the notarization command itself.

I am on Big Sur and am using Xcode 12.2 and it's command line tools.

This is the command as I issued it:

xcrun altool --notarize-app --primary-bundle-id net.omnis.OmnisStudio --file /Users/Das\'s/Desktop/Deploying/Jyotish\ Studio\ 5/Jyotish\ Studio\ 6.zip --username das@xxxxxxani.com --password syfe-xxxx-xxxx-wvug

Like I said that syntax has worked before in two different versions of Xcode on both Mojave and Catalina.. but now it gives the following error text:

What do I do?



2020-11-15 19:10:56.848 altool[3559:161558] CFURLRequestSetHTTPCookieStorageAcceptPolicyblockinvoke: no longer implemented and should not be called

2020-11-15 19:10:59.458 altool[3559:161563]  Error:

/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter: eval: line 314: syntax error near unexpected token (' /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/bin/iTMSTransporter: eval: line 314: exec "/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/java/bin/java" -XX:NewSize=2m -Xms32m -DWORootDirectory="" -DWOLocalRootDirectory="" -DWOUserDirectory="/Users/Das's" -DWOEnvClassPath="" -DWOApplicationClass=com.apple.transporter.launcher.Application -DWOPlatform=MacOS -Dcom.webobjects.pid=3560 -Xmx2048m -Xms1024m -Djava.awt.headless=true -Dsun.net.http.retryPost=false -Dhttps.protocols=TLSv1.3,TLSv1.2,TLSv1.1 -Djava.net.preferIPv4Stack=true -DTxHeaders="eyJqZW5nYSI6dHJ1ZX0=" -Dtransporter.client='altool' -Dtransporter.client.version='4.029 (1194)' -Djava.library.path=/Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/macOS/lib:/Users/Das's/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:. -Djava.security.properties=file:///Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/macOS/conf/java.security -Dmacos.arch=x8664 -Dmacos.rosetta.available=false --illegal-access=deny -p /Applications/Xcode.app/Contents/SharedFrameworks/ContentDeliveryServices.framework/Versions/A/itms/modules --add-modules=java.activation,java.net.http,java.sql,java.xml,java.xml.bind --add-exports=java.base/sun.security.provider.certpath=ALL-UNNAMED --add-opens=java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED -jar ./lib/itmstransporter-launcher.jar "-m" "upload" "-u" 'das@goravani.com' "-vp" "json" -DTxHeaders="eyJqZW5nYSI6dHJ1ZX0=" "-sessionid" "@env:D9FFA525-02C1-4341-AFDC-98E2DF432315" "-sharedsecret" "@env:EC47BFA2-50E2-48B0-ABB5-86568BE51E4A" "-f" '/var/folders/f8/l0bl5pwj7sg5j10tq0s6dfc0000gp/T/34B69604-629F-4234-A18E-ADF2608903D5/net.omnis.OmnisStudio.itmsp' "-indicator" "true" "-v" "eXtreme" -Dtransporter.client='altool' -Dtransporter.client.version='4.029 (1194)''

2020-11-15 19:10:59.459 altool[3559:161563]  Out:

2020-11-15 19:10:59.478 altool[3559:161552] * Error: Unable to notarize app.

2020-11-15 19:10:59.478 altool[3559:161552]
* Error: code -10000 (An error occurred uploading to the App Store.)
Is this an Arm or Intel?

I just tried this here in my office (macOS 11.0.1 with Xcode 12.2, Intel VM) and didn’t have any problems.

Code Block
% sw_vers
ProductName: macOS
ProductVersion: 11.0.1
BuildVersion: 20B28
%
% xcrun altool --notarize-app -u eskimo1 -p …redacted… --asc-provider …redacted… -f Test666520.zip --primary-bundle-id com.example.apple-samplecode.Test666520
No errors uploading 'Test666520.zip'.
RequestUUID = 6f1a5149-dfd5-42f0-bc6c-b90164a6da0b


Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
The script can't handle your path: /Users/Das\'s/Desktop/Deploying/Jyotish\ Studio\ 5/Jyotish\ Studio\ 6.zip

Copy it to /tmp or somewhere else. Never assume that any other programmer's script can successfully handle spaces or single quotes.
The path should be OK.. I've used it during the entire Catalina period no problem, used it many times, I regret that my Home Folder name includes a single quote, but it works.. I notarized today on Catalina VM and it worked again, so I don't think it's the path.

As for chip it's an Intel 2018 MacBook Pro.. again used many times to notarize with these same commands, just they didn't work on Big Sur release version and Xcode 12.2

I am reinstalling the command line tools right now as software update says I need them.. will try again.

The path should be OK.. I've used it during the entire Catalina period
no problem

That’s interesting but it doesn’t refute Etresoft’s theory. altool works in close cooperation with the App Store and that means that it can change behaviour as the App Store updates. It’s possible that one of those updates has broken your specific scenario.

I recommend that you test this theory properly by creating a new user on your Mac, one whose home directory path uses just ASCII letters A-Z. Does the problem then reproduce there?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
@eskimo can you please help me out. (I know i am not right asking on someone else question but since i don't have any solution) I am stuck for a few days now. Here is a link to the forum https://developer.apple.com/forums/thread/667576
Notarization error
 
 
Q