Post

Replies

Boosts

Views

Activity

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. codesign -vvv --deep --strict MyApp.app -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 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)
3
0
828
Feb ’21
migration notarytool from altool - in enterprise network
Hello. I am doing a migration from altool to notarytool. I am doing the above on an enterprise network which is not able to communicate with the outside world except for some URLs, ports. Previously, when I was using altool to execute notarize, I requested the administrator to open url, port by referring to the document below, and so far, it is proceeding without any problem. [https://support.apple.com/en-us/HT210060] The problem is that when I use notarytool to notarize, it tries to access a new domain called appstoreconnect.apple.com, which is not in the documentation above. Did I need to ask my network administrator to allow only the above URL or the other? Or is there another way to do notarize without accessing that URL? If there is any additional documentation on opening hosts and ports that I am not aware of, I would appreciate it if you could point me to it.
3
0
928
Oct ’23