dylib

How to properly embed 3rd party .dylib files in iOS app project for App Store release?

亡梦爱人 提交于 2020-05-15 01:59:26
问题 I am building an iOS app using PJSIP library with H264 support. When building H264, I get 1 .a file and 2 .dylib files. I tried to use the .dylibs in my project by adding as "Embedded Libraries" and also by creating a separate framework and then adding it to "Embedded Libraries". But when uploading build to App Store, I'm getting errors "ERROR ITMS-90206:...", "ERROR ITMS-90171:..". All points to using external dynamic libraries in project. I followed https://developer.apple.com/library

dylib @executable_path path issue in a plug-in bundle

非 Y 不嫁゛ 提交于 2020-01-29 01:34:32
问题 I am developing a plug-in bundle , say MyPlugIn.bundle for an application , say BigApp.app . This bundle requires a dylib , say MyPlugIn.bundle/Contents/Resources/library.dylib . I have relocated paths for library.dylib, as I would have done for a simple application bundle: $ otool -L MyPlugIn.bundle/Contents/MacOS/MyPlugIn MyPlugIn.bundle/Contents/MacOS/MyPlugIn: @executable_path/../Resources/library.dylib (compatibility version 0.0.0, current version 0.0.0) [...] $ otool -L MyPlugIn.bundle

My sample dylib is not working in iphone Device but working fine in Simulator

落花浮王杯 提交于 2020-01-07 04:57:09
问题 I have created a sample dylib with add(int,int) method. I kept this dylib in usr/lib and tried to call this method by including this in frameworks of my iphone application. Now this works fine with Simulator but not running in my Device. Can any one give me clue Where I am going wrong? Following are the Error/warning messages I got: Error: ld: symbol(s) not found collect2: ld returned 1 exit status. Warning : libAddDll.dylib, file is not of required architecture 回答1: Dylibs are not supported

Xcode can't find dylibs after switching to homebrew for OpenCV

孤街浪徒 提交于 2020-01-04 05:55:29
问题 My application was running fine using homebrew-installed OpenCV. In trying to make the application distributable, I compiled and installed OpenCV using plain Cmake. This didn't work, I deleted the files created by Cmake, and reverted to my last "working" commit. However, now my app won't run anymore and it complains of not finding required dylibs: dyld: Library not loaded: /usr/local/opt/opencv/lib/libopencv_core.2.4.5.dylib I have no reference to "/usr/local/opt" in my Xcode project at all,

Initializing the D runtime on OS X

a 夏天 提交于 2020-01-04 04:20:12
问题 Edit: this seems to be a longrunning issue with no imminent solution: http://d.puremagic.com/issues/show_bug.cgi?id=8133 http://www.digitalmars.com/d/archives/digitalmars/D/Ideas_for_runtime_loading_of_shared_libraries._154126.html http://lists.puremagic.com/pipermail/dmd-internals/2011-December/002853.html There seems to be a problem with starting the d runtime in a d dylib loaded in a c program. Whenever I call Runtime.initialize() i get a segfault. C code: #include <stdio.h> #include

Cannot create dylib for distribution that works on OS X 10.5 (building in 10.6 environment)

流过昼夜 提交于 2020-01-02 17:13:11
问题 I'm trying to distribute cairo (1.10.2) with my application. I can create the necessarily dylibs using Homebrew but they are dependent on versions of other dynamic libraries that aren't present in OS X 10.5 (libfontconfig, libfreetype, and others located primarily in /usr/X11/lib ). I assume to solve this I want it to be using the dylibs in /Developer/SDKs/MacOSX10.5.sdk/usr/X11/lib rather than the libraries in /usr/X11/lib . I've tried anything I could find for targeting cairo against the 10

Statically link OpenSSL in XCode

我是研究僧i 提交于 2020-01-02 05:46:09
问题 I am trying to link libssl.a and libcrypto.a static libraries in XCode command line project [under Link Binary With Libraries]. I have included Openssl header files in search path. Compilation succeeds but execution fails with dyld: Library not loaded: /usr/local/ssl/lib/libcrypto.1.0.0.dylib . Why does it look for dylib when I am linking it statically? How can this be fixed? Any help would be appreciable. 回答1: Why does it look for dylib when I am linking it statically? How can this be fixed?

Including custom dll and dylib in MonoMac app

好久不见. 提交于 2020-01-02 02:55:31
问题 Background: My MonoMac app uses a custom build of sqlite3.0.8.6.dylib. I need the exact steps to have MyApp.app use this dylib. Here are some steps I took: Copied the dylib to MyApp.app/Contents/SharedSupport. (Related question: is this the preferred location for 3rd party dylibs or is MyApp.app/Contents/Frameworks preferred?) Changed the installed name for the library so that it matches its new location. MyApp.app/Contents/SharedSupport> otool -L libsqlite3.0.8.6.dylib libsqlite3.0.8.6.dylib