dyld

Swift App Opens on Simulator But Not on Device

一世执手 提交于 2020-01-01 10:13:06
问题 I've been working on my iOS app for a while, and it builds and runs fine on the simulator, but when I try to run it on my device, a few things happen: The app launch screen appears The app crashes and my Xcode output is as follows: dyld: Library not loaded: @rpath/libswiftCore.dylib Referenced from:/private/var/mobile/Containers/Bundle/Application/18932CDB-57DA-4A87-B154-45B9F3CD01D0/Up & Down - Minimalistic, Beautiful Counter.app/Up & Down - Minimalistic, Beautiful Counter Reason: no

Xcode sometimes removes linked library

天涯浪子 提交于 2019-12-30 18:57:13
问题 When using different Frameworks in Xcode, the compiler and linker sometimes do not include that Framework in the library. The result is an immediate crash during the startup with the following message: dyld: Library not loaded: /System/Library/Frameworks/UserNotifications.framework/UserNotifications Referenced from: /var/containers/Bundle/Application/1D41BD68-9B88-4D5D-B7AB-0D1C31979964/App.app/App Reason: image not found I found one way to avoid this. Its just mentioning the parts of that

Fresh Installs of RVM and Ruby 2.1.1 - dyld library/pathing error

只愿长相守 提交于 2019-12-29 18:17:52
问题 I have been trying to install RVM and Ruby 2.1.1 onto my new Mac (OS 10.9.2), and everything seems to be going well until I try to install any version of Ruby. My input $ rvm reinstall 2.1 So far so good... ruby-2.1.1 - #removing rubies/ruby-2.1.1.. Searching for binary rubies, this might take some time. Found remote file https://rvm.io/binaries/osx/10.9/x86_64/ruby-2.1.1.tar.bz2 Checking requirements for osx. Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.

Setting the RPATH for external projects?

左心房为你撑大大i 提交于 2019-12-25 04:15:28
问题 I'm trying to setup a project where my repository imports all dependencies as git submodules for easy development. My colleagues can simply clone the repo, git submodule update --init --recursive , cmake . and make and have a fully working dev environment in place. The directory structure is setup as a superbuild with a CMakeLists.txt at the top level that builds all the submodules using ExternalProject_Add , resulting in the following structure: root - CMakeLists.txt (superbuild) - git

WatchOS 2 App fails to launch on device with dyld_fatal_error for my Framework Library not loaded: Image not found

核能气质少年 提交于 2019-12-24 05:18:07
问题 I've just followed the apple transition guide to upgrade my ObjectiveC app to WatchOS 2 https://developer.apple.com/library/watchos/documentation/General/Conceptual/AppleWatch2TransitionGuide/ConfiguretheXcodeProject.html With the section "Sharing Code Between an iOS App and a watchOS App" describing how to duplicate an existing iOS framework into a WatchOS framework target for use by WatchOS as follows. "If you already have a watchOS 1 app that shares a framework with your iOS app, duplicate

Symbol Not Found, expected in Flat Namespace ObjC++

耗尽温柔 提交于 2019-12-23 07:56:32
问题 I've got probably what is a simple problem, but there's no informative errors or warnings during compile to alert me to what is going wrong. I've got a Objective-C++ app that includes a C++ main and ObjC header files. It builds fine, but when run, it gives this error message: Dyld Error Message: Symbol not found: _OBJC_CLASS_$_AppController Referenced from: /Users/slate/Documents/osirixplugins/eqOsirix/build/Development/rcOsirix.app/Contents/MacOS/rcOsirix Expected in: flat namespace in

dyld: Library not loaded: @rpath/libgfortran.3.dylib

跟風遠走 提交于 2019-12-23 05:35:16
问题 I am trying to learn Fortran programming language, as a test I wrote a simple program like this: !Fortran Program program first print *, "Hello World" end program first Then I threw this code file in to mac terminal and run gfortran first.f95 which then gave me an output of a.out as expected. However, when I try to run the output in terminal by navigating into the output directory and typing ./a.out . It gave me this error output: dyld: Library not loaded: @rpath/libgfortran.3.dylib

Set CMake to use dyld options instead GNU ld options under OS X

旧时模样 提交于 2019-12-23 02:42:28
问题 I try to to port a linux software to OS X (Yosemite) which uses CMake to be built. The only modification that I necessarily made, was to direct to the Homebrew installed GNU GCC and G++ when executing cmake . If I use the already existing CMakeLists.txt, the build process stops with the following error: ld: unknown option: --start-group collect2: error: ld returned 1 exit status make[2]: *** [lib/somelib.dylib] Error 1 make[1]: *** [lib/somelib.dir/all] Error 2 make: *** [all] Error 2

OSX App crashing on load when ParseOSX framework with Dyld Error

為{幸葍}努か 提交于 2019-12-22 06:25:15
问题 I have an OSX app and I have added the ParseOSX sdk. I have followed all the instructions on the quick start page (https://www.parse.com/apps/quickstart#parse_data/desktop/osx/existing) The app is running fine in Xcode (Version 5.1.1 (5B1008)) but when I archive and create a package and install this. I get the following Dyld error; Dyld Error Message: Library not loaded: @executable_path/../Frameworks/ParseOSX.framework/ParseOSX Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp

OSX App crashing on load when ParseOSX framework with Dyld Error

大城市里の小女人 提交于 2019-12-22 06:24:04
问题 I have an OSX app and I have added the ParseOSX sdk. I have followed all the instructions on the quick start page (https://www.parse.com/apps/quickstart#parse_data/desktop/osx/existing) The app is running fine in Xcode (Version 5.1.1 (5B1008)) but when I archive and create a package and install this. I get the following Dyld error; Dyld Error Message: Library not loaded: @executable_path/../Frameworks/ParseOSX.framework/ParseOSX Referenced from: /Applications/MyApp.app/Contents/MacOS/MyApp