"<app name> can’t be opened because Apple cannot check it for malicious software."

I want to distribute my application. I successfully sign it with my apple ID, and a profile.

Code Block
codesign -dvv

returns
Code Block
Identifier=com.xxxxx.OrchPlay
Format=app bundle with Mach-O thin (x86_64)
CodeDirectory v=20500 size=1134854 flags=0x10000(runtime) hashes=35455+5 location=embedded
Signature size=4755
Authority=Developer ID Application: Baptiste xxxxx (62CS2SG5TM)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Signed Time=Mar 22, 2021 at 7:46:06 PM
Info.plist entries=23
TeamIdentifier=62CS2SG5TM
Runtime Version=10.15.0
Sealed Resources version=2 rules=13 files=4
Internal requirements count=1 size=220

So why when i upload it and then downloading on a server do i get the "can’t be opened because Apple cannot check it for malicious software" warning?

I have no clue. The system and XCode gives me no warning, and only when opening it i have an issue.
This is definitely a Gatekeeper problem, and those are quite tricky to debug. I have some general advice in this post.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
"&lt;app name&gt; can’t be opened because Apple cannot check it for malicious software."
 
 
Q