Xcode Dynamic Library file extension
Questions tagged [dylib]
803 questions
0
votes
3 answers
iphone warning libsqlite3.dylib is not of required architecture?
I'm writing an iPhone app which seems to run fine on the simulator, however when I try and run it on the device I get a libsqlite3.dylib, file is not of the required architecture error. I'm using os 3.0 on a 3GS. Any ideas on what could be causing…
felix
0
votes
1 answer
symbol picked up from wrong dylib on linking
I am linking a binary which imports a symbol defined in two dependent dylibs, and I can't make ld to pick the correct one.
The symbol is _init_process and it's defined both in libSystem.dylib (added by ld implicitly) and libida.dylib (our library).…

Igor Skochinsky
- 24,629
- 2
- 72
- 109
0
votes
1 answer
Converting xcode project to dylib
I want to create a .dylib file. I have a iPhone project in XCode. Is there any way this project can be converted to a .dylib file? Can anyone please give me detailed step by step instructions. I do not want to create dylib file in C language. I…

Aishwarya Ram
- 41
- 2
0
votes
1 answer
Linking library(dylib) to a compiled ipa
I have a compiled ipa and a .dylib file. Using install_name_tool I am able to change the libraries present in the ipa file binary. Is there any command which is used to add a library to the ipa. To be more specific i want to add a LC_LOAD_DYLIB…

Aishwarya Ram
- 41
- 2
0
votes
1 answer
Dylib ok at link time but not at runtime
I have a problem linking correctly my project. The project is built with CMAKE. Linking seems fine, but at run time an error is thrown.
Here is the command that was used for linking: …

Antzi
- 12,831
- 7
- 48
- 74
0
votes
1 answer
dlls on windows and dylibs on macintosh
I have joined a project that has been written in xcode using objective-C that is using some frameworks. This project is aimed at adding Wii-mote functionality to both the windows and Macintosh versions of Unity3d.
My question is how should I go…

StewVanB
- 117
- 2
- 8
0
votes
1 answer
JNA Macosx loading libXY.so instead of libXY.dylib
I am trying to load a sharedobject library via JNA
the file is called libLIBNAME.so
my code looks like this:
Native.loadLibrary("LIBNAME", SomeInterface.class);
but everytime i execute it, i get
Unable to load library 'LIBNAME':…

Wolf
- 991
- 1
- 9
- 12
0
votes
1 answer
Editable / patchable resources within dylib?
Is there any way to embed resources (e.g. strings / images) within a Mach-O dylib such that they are editable post-build? Similar to resources in PE files.
I know I should be using Bundles instead, but humour me ;-)

snowcrash09
- 4,694
- 27
- 45
0
votes
2 answers
How do I build and use a dynamic library on Mac OS X?
I have a very simple question that I've been trying to figure out for the last 6 hours or so. I want to simply build a dynamic library on Mac OS X, and then build an application using that library. I've created the .dylib and compiled the test…

Joe S
- 75
- 1
- 6
-1
votes
1 answer
Pyinstaller on macos doesn't load library with --add-binary
I have a dev macOS VM and the builds work fine using pyinstaller 4.0.
As soon as I update pyinstaller anything other than 4.0, it fails to load my custom *.dylib files which are in the application folder when building pyinstaller.
I installed python…

Amin Persia
- 315
- 2
- 15
-1
votes
1 answer
clang: error: unknown argument: '-no_adhoc_codesign'
I'm trying to get rid of linker-signed out of my xxx.dylib. So according to this, I added -no_adhoc_codesign to linker flag with -DCMAKE_SHARED_LINKER_FLAGS="-no_adhoc_codesign" but it seems clang has no idea about this flag. ld does have this…

isudfv
- 179
- 1
- 9
-1
votes
1 answer
Can not load Dylib in Objective-C Cocoa Xcode
When I use external dylib, there're problem when I run the builded App.
Since I added EVN link to dylib file, and Run in Xcode no problem, however when I build it and click from builded app, there're problem couldn't load dylib.
Note: If I copy…

Jacky Le
- 51
- 9
-1
votes
1 answer
ActionScript 3- Wrap DYLIB to be used with AS3
I have to create Flash application with AS3 and use functions in DYLIB.
Let say the function name is Open();
Is it possible? And how do I add the DYLIB into my AS3 project?
EDIT
Ok as I can see from the comment, I need to wrap the DYLIB. I am not…

njz
- 47
- 8
-1
votes
2 answers
Symbol not found but was included during linking
I've just built magic VLSI software on MacOs Sierra 10.12.2. This includes building tclmagic.dylib library. Now when testing Magic Exec I get:
magic
dyld: lazy symbol binding failed: Symbol not found: _HashInit
Referenced from:…

20Mhz
- 1
- 3
-1
votes
1 answer
Xcode expert needed - still sruggling with linking
I am getting an error which I shouldn't get according to this and this.
My library does exist though (here is the…

Igor
- 5,620
- 11
- 51
- 103