Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 289597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:55:16+00:00 2026-05-12T05:55:16+00:00

I have an application composed of a GUI and 3 launchd daemon launched command-line

  • 0

I have an application composed of a GUI and 3 launchd daemon launched command-line executables.

I’m planning to put the executables for the launchd daemons inside the .app bundle for the GUI.

These apps utilize 2 (both fairly small) frameworks which I have created.

Is it a better idea to put these frameworks in /Library/Frameworks (and thus save multiple applications loading the same code) or to keep them in the application bundle (thus making the application self-contained except for the launchd plists)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T05:55:17+00:00Added an answer on May 12, 2026 at 5:55 am

    Bottom line: I’d opt for self-contained unless/until you have convincing proof that putting the frameworks in /Library/Frameworks/ will offer a noticeable improvement for your particular scenario. Check the impact of doing it both ways, but I prefer to group the frameworks with the app to begin with.

    The dynamic linker (dyld) is pretty smart about loading frameworks and reusing what has already been loaded in most cases. If there are several apps in disparate locations using a framework, it is definitely preferred to install it to /Library/Frameworks/. However, since it seems that all the “apps” you’re referring to are within your .app bundle, it wouldn’t seem there’s much benefit to this approach, since they’ll all be linked to the same path, which dyld should pick up on. (Not only is a user required to have admin permissions to modify /Library, but the install process instantly becomes more complex.) See the last part of my answer to a related SO question for ideas about analyzing launch performance of executables, including examining dyld activity.

    Another consideration is the degree of control you have over framework versioning when they are stored within your app bundle. If you purposefully “publish” a framework by putting it in a canonical public location, you must be prepared to accept the consequences of others possibly choosing to link against it. However, if a framework is only distributed inside your app bundle, any developer who chooses to link against it anyway has nobody to blame but themselves. 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have fairly large C++ application which is composed of about 60 projects in
We have a few projects that involve building an application that is composed of
I have an application that displays an image inside of a Windows Forms PictureBox
I have to design a distributed application composed by one server (developed in Java)
I have an application composed of a main view and a secondary view which
I have an Android application composed by several Activities. Most of them need to
I have an Eclipse workbench application composed of many plugins. I'd like to set
Now, I have a application that composed of single master and many workers. The
I have a C++ windows application which is composed of several DLLs. I want
I have an application that sends messages to an external web service. I build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.