Comments (7)
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.
Please add optional framework bundling. It's a waste of time to fix partially bundled apps.
from macdylibbundler.
@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.
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.
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.
Works for me :)
Example here:
https://github.com/agordon/glogg/blob/mac-os-x-build/INSTALL.macosx.md
from macdylibbundler.
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)
- bundling qemu doesn't rewrite libhogweed libnettle deps correctly HOT 3
- Link with unversioned dylibs HOT 3
- Not Skipping Request for Library Location Request When the Prefix is Suposed to be Ignored
- New build failure, undefined symbols HOT 3
- Automatic release uploading broken
- Processed app crashes HOT 5
- Failed at a barebone example. HOT 6
- Regression somewhere after 9cf053f8b399512e12d7931fa24f466057e58044 HOT 7
- dylibbundler failed on macOS 11 (beta) HOT 5
- dylibbundler can't works with application + last version of libcurl HOT 2
- Can't build dylibbundler - missing PATH_MAX HOT 5
- Signed/notarized dylibs supported? HOT 2
- Tag and release so Homebrew can pick it up? HOT 3
- Error fixing RPATH on universal binary dylib
- Need ad-hoc signing for moved libraries since perhpas macOS 12.1 Monterey HOT 1
- Fix identified. Missing "/" on path concatenation. HOT 3
- Any way to not ignore system libs? HOT 3
- dylibbundler fails when building widelands on M1 Mac.
- dylibbundler doesn't rewrite paths correctly when using alternative library search path
- copy failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from macdylibbundler.