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.
2. codesign -dvvv --deep MyApp.app
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)
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.
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)