Thanks a million to everybody for responding to my question!

I have been following Joao's instructions at

  
https://stackoverflow.com/questions/53101626/how-to-notarize-an-app-bundle-containing-helpers-embedded-in-it/56799591#56799591
 
<https://stackoverflow.com/questions/53101626/how-to-notarize-an-app-bundle-containing-helpers-embedded-in-it/56799591#56799591>
and those at:

  https://forums.developer.apple.com/message/338167#338167 
<https://forums.developer.apple.com/message/338167#338167>

Notarization of my screen saver seems to work now.

However, I am still confused, but I prefer to understand what is going.
So, I'd appreciate it very much if you could enlighten me.


First of all, in the build settings I have "Code Signing style" = Manual.
(And in the Signing & Capabilities section, "Automatically manage signing" is 
OFF.)
Now, when I build my screen saver, Xcode still opens a dialog saying "code sign 
wants to access key "Mac Developer ID Application...".
THat's fine with me, I am just confused: I thought, when automatic code signing 
is OFF, then Xcode doesn't code sign the screen saver at all.

Could some kind soul please shed some light on this?


Next, when I try to verify the signature like this:

   codesign -vvvv -R="anchor apple" /tmp/Release/ArtSaver.saver

I get this output:

/tmp/Release/ArtSaver.saver: valid on disk
/tmp/Release/ArtSaver.saver: satisfies its Designated Requirement
test-requirement: code failed to satisfy specified code requirement(s)

The last line concerns my a little - should I worry about it?
What does it mean?
(Naturally, in Xcode there is no entitlements section since this is a screen 
saver.)


Other than that, however, the signing and notarization seems to work.
At least, the response email from Apple says so.



Another question is with regards to build settings.
Xcode now issues the warning "Update to recommended settings",
and the details say:
"Target ... - Switch to Development Signing. This will set the 
CODE_SIGN_IDENTITY setting to "Apple Development" ... "
I guess I should not let Xcode change that to the "recommended settings" 
(see Joao's instructions) - am I correct?
But I am still wondering:
1. What do the different options in the "Code Signing Identity" 
(CODE_SIGN_IDENTITY) mean? Naturally, I googled about it, and read the docs at 
https://help.apple.com/xcode/mac/current/#/dev154b28f09 
<https://help.apple.com/xcode/mac/current/#/dev154b28f09> , but I am still in 
the dark)
2. Can I tell Xcode that the current setting is fine and it should not issue a 
warning about it?



Thanks a lot in advance for all kinds of insights or pointers.


Best regards, Gabriel



_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to