Giter VIP home page Giter VIP logo

Comments (7)

auriamg avatar auriamg commented on July 17, 2024

Indeed, dylibbundler is only meant to work with "raw" dylib files. Frameworks come with many other constraints and are not managed by dylibbundler. However, frameworks also generally need no fixing, in my experience if they are built properly you can just copy them inside your executable and everything will work fine out of the box

from macdylibbundler.

sammy007 avatar sammy007 commented on July 17, 2024

Please add optional framework bundling. It's a waste of time to fix partially bundled apps.

from macdylibbundler.

agordon avatar agordon commented on July 17, 2024

@auriamg - can you elaborate what you mean by "[...] just copy them inside your executable" ?
Each framework is a single file (e.g. /usr/local/lib/QtGui.framework/Versions/4/QtGui) - should this file be copied to the new libs directory, or somewhere else ?

EDIT:
This page: https://developer.apple.com/library/mac/documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html#//apple_ref/doc/uid/20002258-106880
Suggests the 'private frameworks' can be (somehow?) bundled in a similar fashion, and the executable should then reference them with @executable_path/../Frameworks.
Is it something that macdylibbundler can do ?

Thanks!

from macdylibbundler.

agordon avatar agordon commented on July 17, 2024

follow-up:

On mac os x, using HomeBrew, the program macdeployqt from the qt package will take care of bundling the Qt framework (and the dylibs, as well).

from macdylibbundler.

surak avatar surak commented on July 17, 2024

Doesn't work.

[]s
Alexandre Strube

Em 28 de nov de 2015, às 07:04, A. Gordon [email protected] escreveu:

follow-up:

On mac os x, using HomeBrew, the program macdeployqt from the qt package will take care of bundling the Qt framework (and the dylibs, as well).


Reply to this email directly or view it on GitHub.

from macdylibbundler.

agordon avatar agordon commented on July 17, 2024

Works for me :)

Example here:
https://github.com/agordon/glogg/blob/mac-os-x-build/INSTALL.macosx.md

from macdylibbundler.

ryandesign avatar ryandesign commented on July 17, 2024

frameworks also generally need no fixing

That is not a given. For example, any library installed by MacPorts—whether it is a bare library or within a framework—is linked with absolute paths that need fixing up if bundled into an app.

from macdylibbundler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.