I want to create a game on Xcode 6.0 using SceneKit, but when I run the application it crashes on the device and prints this error on the console:
dyld: Library not loaded: /System/Library/Frameworks/SceneKit.framework/SceneKit
Referenced from: /var/mobile/Applications/92F93C11-1A2E-4A5B-8BC1-0243E7E67151/GameApp.app/GameApp
Reason: image not found
OK so it looks like the issue is that the device is running iOS 7 and you need iOS 8 in order to use SceneKit. Update the device and it should work as advertised.
Related
After trying to run the Emulator form Android Studio, i got the following:
dyld: Symbol not found: _vmnet_shared_interface_name_key
Referenced from: /goinfre/anel-bou/FlutterFolder/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64 (which was built for Mac OS X 11.1)
Expected in: /System/Library/Frameworks/vmnet.framework/Versions/A/vmnet
in /goinfre/anel-bou/FlutterFolder/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64.
And after trying to run Android Emulator without using Android Studio i got the following message:
e2r7p15% /goinfre/anel-bou/FlutterFolder/Android/sdk/emulator/qemu/darwin-x86_64/qemu-system-x86_64 ; exit;
dyld: Library not loaded: #rpath/libQt5WebEngineWidgetsAndroidEmu.5.12.1.dylib
Referenced from: /goinfre/anel-bou/FlutterFolder/Android/sdk/emulator/qemu/darwinx86_64/qemu-system-x86_64
Reason: image not found
zsh: abort
I am working with macOS Mojave 10.14.6 (that i cant update) and Android Studio Arctic Fox | 2020.3.1 Patch 2
I fixed it by downgrading the Emulator:
Download an old version of emulator (in my case i used emulator-darwin_x64-7425822 download from here)
Replace the emulator folder you downloaded with the one in your sdk folder. (should normally be here ~/Library/Android/sdk)
You can also fix it by upgrading your macOS version to the latest one.
I recently installed XCode Beta 10 and afterwards, this message appears on the top of the terminal prompt every time I open it:
dyld: Library not loaded: /usr/local/opt/gdbm/lib/libgdbm.4.dylib
Referenced from: /usr/local/bin/zsh
Reason: image not found
zsh: abort
I checked the /usr/local/opt/gdbm/lib/ directory and the libgdbm.4.dylibfile is indeed missing, but a libgdbm.4.dylibfile is in there. What can I do to fix this?
I was able to fix this by simply running brew reinstall zsh.
I got the following error when I try to deploy an app on the test device.
dyld: Library not loaded: #rpath/Pods.framework/Pods
Referenced from: /var/mobile/Containers/Bundle/Application/20AF9839-59C2-4FBA-A178-582088FAC7B2/Ballman.app/Ballman
Reason: image not found
However it works fine with simulator. Does anyone know what the reason is?
I'm trying to run the Pebble emulator for the first time with one of my Pebble apps, and I'm getting the following message:
$ pebble install --emulator aplite
Couldn't launch emulator:
dyld: Library not loaded: /usr/local/lib/libgthread-2.0.0.dylib
Referenced from: /Users/sarbogast/pebble-dev/PebbleSDK-3.3/Pebble/common/qemu/qemu-system-arm_Darwin_x86_64
Reason: Incompatible library version: qemu-system-arm_Darwin_x86_64 requires version 4401.0.0 or later, but libgthread-2.0.0.dylib provides version 4201.0.0
So it seems that libgthread is too old. How should I upgrade it?
This command solved my problem:
brew update && brew upgrade glib
I have downloaded sample Health-kit app (FitStoreandRetrieveHealthKitData)from apple developer site. Trying to run it on my iPhone with Xcode 6 beta.
But failed to run app on device and getting error
dyld: Symbol not found: _HKQuantityTypeIdentifierDietaryCalories
Referenced from: /private/var/mobile/Containers/Bundle/Application/95F193C0-52CE-47E0-92C4-0BF436AEB3AE/Fit.app/Fit
Expected in: /System/Library/Frameworks/HealthKit.framework/HealthKit
in /private/var/mobile/Containers/Bundle/Application/95F193C0-52CE-47E0-92C4-0BF436AEB3AE/Fit.app/Fit
Can any one has solution for this ?
HKQuantityTypeIdentifierDietaryCalories was renamed to HKQuantityTypeIdentifierDietaryEnergyConsumed. Make sure you're building the project with the version of the iOS 8 SDK that corresponds to the version of iOS 8 you have installed on your iPhone.