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?
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 am deploying qt application for macos so in order to create .app I am using macdeployqt tool.
My problem is that when I run the application I get this error:
dyld: Library not loaded: #rpath/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets
Referenced from: /Users/raulsanchez/Documents/workspace/Myapp.app/Contents/MacOS/Myapp
Reason: image not found
I have checked with otool and i have this:
#rpath/QtWebEngineWidgets.framework/Versions/5/QtWebEngineWidgets (compatibility version 5.9.0, current version 5.9.7)
If it matters I have used macdeployqt with option -use-debug-libs and -no-strip
Could anyone help me on this?
Thanks in advance
I finally found the solution. Since I was using debug version of the Frameworks '_debug' suffix was being appended. That was the reason why it was not being found
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 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.
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.