Questions tagged [dylib]

Xcode Dynamic Library file extension

803 questions
-1
votes
1 answer

Expose an interface of a class loaded from a framework at runtime

I want to load and manipulate SKUIImageColorAnalyzer and SKUIAnalyzedImageColors objects from the private StoreKitUI.framework. First, I attempt to load the framework at runtime: guard case let libHandle =…
JAL
  • 41,701
  • 23
  • 172
  • 300
-1
votes
1 answer

Error with dlopen

i'm loading dynamic lib (in python via ctypes) and get such error: OSError: dlopen(mlib.dylib, 6): Symbol not found: _NSLocalizedDescriptionKey Referenced from: /Users/abc/work/as/mlib.dylib Expected in: flat namespace in…
user1261347
  • 315
  • 2
  • 15
-1
votes
2 answers

Error when making dynamic lib from .o

I'm trying to make dynamic lib from set of .o files, but when i do gcc -dynamiclib -current_version 1.0 mymod.o -o mylib.dylib or ld *.o -o mylib.dylib i get a lot of errors like: "_objc_msgSend", referenced from: …
user1261347
  • 315
  • 2
  • 15
-2
votes
1 answer

How to sign dylib file which can be replaced?

I have poor understanding in this question. The major step to distribute any application is the code signing, it signs application with dependant dynamic library. As I understand OS will check signed application during installation and subsequent…
Alex Aparin
  • 4,393
  • 5
  • 25
  • 51
-2
votes
1 answer

Symbol not found using dlopen in Python

I compiled BlockSci in macOS High Sierra 10.13.6. This created /usr/local/lib/libblocksci.dylib. I used pip3 to install the blocksci Python analysis library and this created…
Hahnemann
  • 4,378
  • 6
  • 40
  • 64
-2
votes
1 answer

install_name_tool: can't open input file: *.dylib for writing (Permission denied)

I can clearly see that libopenvdb.dylib file exists and I'm the owner. But install_name_tool throws this error: install_name_tool: can't open input file: libopenvdb.dylib for writing (Permission denied) Terminal commands: aec@mojaves-Mac…
Megidd
  • 7,089
  • 6
  • 65
  • 142
-2
votes
1 answer

I can not open and edit any file dylib?

I tried and searched and did not find a solution for how to open the dylib file and modify it ! I have apps Plus iPhone example: WhatsApp++ Plus and Snapchat++ Plus ..etc and there is a file inside dylib and I want to open it and watch the source…
Spice
  • 1
  • 1
  • 2
-2
votes
1 answer

How to build dylib in XCode?

I have a library in source code, it builds in .a static library, but i need .dylib. So, i choose Mach-O-Type in "Build Settings" as "Dynamic Library", but get…
user1261347
  • 315
  • 2
  • 15
1 2 3
53
54