Failed to install a project to a real device - swift

Someone who solved this problem by emulating on an iPhone.
It is a project that a library was embedded and well I already gave it a lot of laps and all the Build Setting configurations, from the signature of the build functions are correctly I do not understand what may be happening I have xcode 12.0.1 I will thank you very much for a feetback,
este es mi error:
dyld: Symbol not found: _$s8DropDownAAC9DirectionO6bottomyA2DmFWC
Referenced from: /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/FrameworkDemo.framework/FrameworkDemo
Expected in: /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/DropDown.framework/DropDown
in /private/var/containers/Bundle/Application/0E7CFCF6-F3E3-422F-8EF9-BD721F6D0ADB/proyectodemo.app/Frameworks/FrameworkDemo.framework/FrameworkDemo
dyld: launch, loading dependent libraries
DYLD_LIBRARY_PATH=/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Developer/usr/lib/libBacktraceRecording.dylib:/Developer/usr/lib/libMainThreadChecker.dylib:/Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
(lldb)

Related

How to fix dyld: Library not loaded: #rpath/libtbb.dylib

i'm using HiC-Pro mapping program on macOS Catalina. When it's running the log says:
dyld: Library not loaded: #rpath/libtbb.dylib
Referenced from: /Applications/anaconda3/bin/bowtie2-align-s
Reason: image not found
(ERR): Description of arguments failed!
Exiting now ...
Does anyone know how to fix this library not loaded error message?
I just started getting this error, as well -- environments I had installed just a couple weeks ago that included Bowtie2 still work, but when I install a new environment with the same Conda yaml file today it is no longer working, with this same error.
Try installing tbb through
brew install tbb
This fixed the error for me for a different binary that threw the same error.

dyld: Library not loaded: #rpath with iOS13 // Cocoapod // Swift 5.0

I really can't find a way to solve my probleme.
To explain it quickly: I had an app that retrived data from Firebase with some Frameworks and this app worked fine. But recently, the app crash when I build it on my iPhone, but not on the Simulator. I updated cocoapods to see if it solve the probleme but no.
When I try running it on the device I get this error :
dyld: Library not loaded: #rpath/GTMSessionFetcher.framework/GTMSessionFetcher
Referenced from: /private/var/mobile/Containers/Bundle/Application/0F2C2461-A68B-4ABA-A604-B88E6E9D1BB1/AppName.app/AppName
Reason: image not found
I've tried different solutions, but none of them really worked. Please help me.

Debug an obscure error on iPhone

My app crashes on versions 4.2 and 4.3 of iOS. The line of code that crashes is in a C++ library:
Ais8_001_22_Circle const *circle = dynamic_cast<Ais8_001_22_Circle const*>(*sa);
The console says:
dyld: lazy symbol binding failed: can't resolve symbol ___dynamic_cast MY_APP
because dependent dylib #2 could not be loaded
dyld: can't resolve symbol ___dynamic_cast in MY_APP
because dependent dylib #2 could not be loaded
It would probably help if I could figure out what "dylib #2" is.
It turns out I needed to include the lstdc++ linker flag under iOS 4.X
One possibility - Is the C++ library you are linking to a dynamic library (dylib)? If so, you'll need find a statically linked version for iOS as iOS does not allow dynamic libraries.

__dyld_dyld_fatal_error upon app startup

I get a __dyld_dyld_fatal_error when trying to run my app on an iOS3 device:
dyld: Symbol not found: _OBJC_CLASS_$_NSBlockOperation Referenced from: /var/mobile/Application/.......
Expected in: /System/Library/Frameworks/Foundation.framework/Foundation
My guess is that this is due to the fact that blocks aren't supported in iOS3. However, I'm having trouble tracking down which library is referencing NSBlockOperation. Is there a tool similar to dependency walker, that I can use to figure out which module it is?
You need to set your deployment target to iOS 3.x.

SSHCore Framework can't run in iphone sdk

I have downloaded SSHCore source code which uses libssh2 library.
That code build successfully, but as i put that in my code and build it, it builds successfully but after running it gives me this error:
dyld: Library not loaded: #executable_path/../Frameworks/SSHCore.framework/Versions/A/SSHCore
Referenced from: /Users/mac04/Library/Application Support/iPhone Simulator/4.0/Applications/541D1C93-3E50-4932-841C-2D63F5F7FF10/SSH.app/SSH
Reason: image not found
If any one has used this then please help me to solve this issue.
Thanx in advance.
You can't run 3rd party frameworks on iOS.
Have you followed these instructions to turn it into a library that can be used on the iPhone?