Hello, Laurent

As far as I know, the documentation is still valid. 

I would start reading this:

https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/DesigningDaemons.html#//apple_ref/doc/uid/10000172i-SW4-BBCBHBFB
 
<https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/DesigningDaemons.html#//apple_ref/doc/uid/10000172i-SW4-BBCBHBFB>

and this:

https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/DesigningDaemons.html#//apple_ref/doc/uid/10000172i-SW4-BBCBHBFB
 
<https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/DesigningDaemons.html#//apple_ref/doc/uid/10000172i-SW4-BBCBHBFB>

and this:

https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1
 
<https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1>


macOS has a plethora of options, and that depends a lot on what you want to 
achieve and the degree of security you need / you want to impose on the main 
app and its helpers.

Personally, I have an app bundle that look like this:

MainApp.app/
   Contents/
      info.plist
      MacOS/
        MainExecutable
      Helpers/
        Helper1.app
        Helper2.app
      Library/
        LoginItems/
           LoginItem.app
      Resources/
         … all resources here, including help and icon files
        
I create different targets for the main app and for each helper and login item 
and then use scripts to build the whole bundle and sign it properly using the 
inside-out principle. To know then how to notarize this complex bundle, I 
recommend my answer at Stack Overflow, because not even DTS could help me with 
it. Only the documentation of WWDC was able to show me the light, so to speak:

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

HTH

J. Varela


> 
> I?m looking for information about how to properly add a helper app to a macOS 
> application. So far, I?ve found just piecemeal here and there about some 
> parts, but nothing that is recent and documents the entire process. It seems 
> that there are many moving parts, e.g. sandboxing, adding it to the login 
> items, etc.
> 
> Anyone knows some good references?
> 
> Thanks in advance!
> 
> -Laurent.
> -- 
> Laurent Daudelin                                                              
>                 laur...@nemesys-soft.com <mailto:laur...@nemesys-soft.com>
> Skype: LaurentDaudelin                
> Logiciels N?m?sys Software                                                    
> http://www.nemesys-soft.com/ <http://www.nemesys-soft.com/>
> 
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to