Package notarization issue.

Hi.
I'm setting build machine for Universal(Apple Silicon/Intel) apps.
But builded app make some error when notarizing package that include it.
Message is "The signature of the binary is invalid." for each binary located in "MyApp.app/Contents/MacOS/MyApp". (x86-64, arm64)
It seems like no error when I using codesign.
  1. codesign -vvv --deep --strict MyApp.app

Code Block
--prepared:/Users/juno/Downloads/Release/MyApp.app/Contents/PlugIns/MyApp.appex
--validated:/Users/juno/Downloads/Release/MyApp.app/Contents/PlugIns/MyApp.appex
MyApp.app: valid on disk
MyApp.app: satisfies its Designated Requirement


2. codesign -dvvv --deep MyApp.app
Code Block
Executable=/Users/**/Downloads/MyApp.app/Contents/MacOS/MyApp
Identifier=com.companyname.myapp
Format=app bundle with Mach-O universal (x86_64 arm64)
CodeDirectory v=20500 size=7816 flags=0x10000(runtime) hashes=233+7 location=embedded
Hash type=sha256 size=32
CandidateCDHash sha1=
CandidateCDHashFull sha1=
CandidateCDHash sha256=
CandidateCDHashFull sha256=
Hash choices=sha1,sha256
CMSDigest=
CMSDigestType=2
CDHash=
Signature size=9051
Authority=Developer ID Application: MyID (******)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=Feb 16, 2021 9:59:29 AM
Info.plist entries=29
TeamIdentifier=********
Runtime Version=11.1.0
Sealed Resources version=2 rules=13 files=26
Nested=PlugIns/MyApp.appex
Internal requirements count=1 size=220

And also I notarize MyApp for individually, it still shows same error message.
I'm using macOS 11.1 and Xcode 12.4.
There is no error in app that built by lower version's build machine.(macOS 10.14.6 and Xcode 10.3)

And also I notarize MyApp for individually

I’m struggling to parse the above. Can you clarify what you mean by this?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Sorry.
I mean I'm failed to notarizing package include "MyApp", so I try to notarizing "MyApp" and packaging it.
But it still shows "The signature of the binary is invalid.".
It’s hard to say what’s going on here without full details of your notarisation request. That’s not something I have the time to do here on DevForums. My advice is that you open a DTS tech support incident and I’ll pick things up in that context.

Share and Enjoy

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