APP does not launch once after we do Codesign!!

We have a .app created from unity player. This app works fine till we do code sign. When we do successful code sign all required dependencies app doesn't launch.
we are using following command.
Code Block
codesign -f --timestamp --option=runtime -s "<Dev ID>" ABC.app

After checking various post on apple developer forum, we found https://developer.apple.com/forums/thread/132109 and it suggest to provide exception for hardened runtime.

We followed the same and as suggested by Apple Support Engineer we tried all suggested runtime exception from link and found only this "Allow Unsigned Executable Memory Entitlement(com.apple.security.cs.allow-unsigned-executable-memory)" added, we are able to sign and launch app. but Notarization process fails.

Could anyone suggest on following :
  • How we can fix our development code so we don't have to provide this exception.

  • What could be the issue, in our case?

  • Is it possible to sign and notarization with this exception?

Thanks in advance.





If the app refused to run it should generate a crash report. Please post that. Use the text attachment feature (the paperclip icon) to avoid clogging up the timeline.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"
APP does not launch once after we do Codesign!!
 
 
Q