application crashing with - dyld: Symbol not found: _NSURLAuthenticationMethodServerTrust - ios

i am using xcode 6 . application runs successfully on simulator but when i am using my device than after building the application it is crashed and sending this report. this code was running with xcode 5.
dyld: Symbol not found: _NSURLAuthenticationMethodServerTrust
Referenced from: /var/mobile/Applications/7BA2B5A2-E764-46F6-A012-8FB94BCD1C4C/FutureAPI.app/FutureAPI
Expected in: /System/Library/Frameworks/CFNetwork.framework/CFNetwork
in /var/mobile/Applications/7BA2B5A2-E764-46F6-A012-8FB94BCD1C4C/FutureAPI.app/FutureAPI

answer is https://github.com/AFNetworking/AFNetworking/issues/2109. i have just deleted CFNetwork.framework and my code is running.

Related

Xcode 13 dyld: Library not loaded: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation

I am getting this error when building on my iPAd Air emulator. I have the framework included in my build phase. Any ideas?
dyld: Library not loaded: /System/Library/Frameworks/LinkPresentation.framework/LinkPresentation
Referenced from: /Users/Library/Developer/CoreSimulator/Devices/A87BB772-9E8A-47A5-8D11-F300B549BDB4/data/Containers/Bundle/Application/AEF2517C-5E9D-4295-8F31-3D91D4668C57/myracnative.app/myracnative
Reason: image not found
dyld: launch, loading dependent libraries
DYLD_FRAMEWORK_PATH=/Users/Library/Developer/Xcode/DerivedData/myracnative-glxuojrfejxbhqgircpjgklctbto/Build/Products/Debug-iphonesimulator
DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib
DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot
DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks
DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 12.0.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/P
Set LinkPresentation.framework to Optional on your SS (similarly to the SwiftUI.framework)

About Reactivecocoa dyld: Symbol not found: ___NSArray0__

I can run is iOS9.1 but when running in iOS 8.4 it happened this problem. Is this means This version of ReactiveCocoa only supports iOS 9.1 ?
enter image description here
dyld: Symbol not found: _NSArray0
Referenced from: /private/var/mobile/Containers/Bundle/Application/12D3C7C5-E14E-4150-AD4B-4DD58230DB7B/FenYouShopping.app/Frameworks/ReactiveCocoa.framework/ReactiveCocoa (which was built for iOS 9.1)
Expected in: /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /private/var/mobile/Containers/Bundle/Application/12D3C7C5-E14E-4150-AD4B-4DD58230DB7B/FenYouShopping.app/Frameworks/ReactiveCocoa.framework/ReactiveCocoa
Try adding CoreFoundation framework but in case is there put it as optional

Run application on device get this error

In simulator it's ok but when I try to run on real device I get this error.
I have updated the latest version of Xcode Version 7.2.1 (7C1002).
dyld: Library not loaded: #rpath/ActionSheetPicker_3_0.framework/ActionSheetPicker_3_0
Referenced from: /var/mobile/Containers/Bundle/Application/7C8E2E1A-FC10-4E8A-BEEF-CBCB0C42499F/mobile Banking1.app/mobile Banking1
Reason: no suitable image found. Did find:

address sanitize runtime error in iOS device

in xCode7 build setting tap, i add flag as below:
other c flags: -fsanitize=address
other linker flags:-fsanitize=address
It works well on the simulator, but when I run the app on an iOS device, it crashes.
The error information is:
dyld: Library not loaded: #rpath/libclang_rt.asan_ios_dynamic.dylib
Referenced from:
/var/mobile/Containers/Bundle/Application/6DFB6F58-A283-4F82-A4B5-903E12B7D0CA/EduLayout.app/EduLayout
Reason: image not found。
so how to fix it?

dyld: Symbol not found: _NSFontAttributeName

I am getting this error when running a library I created in a third-party project on iOS 5. The project compiles just fine but right upon startup I get the following in my console:
dyld: Symbol not found: _NSFontAttributeName
Referenced from: /Users/Stunner/Library/Application Support/iPhone Simulator/5.0/Applications/C26FFA60-BB4A-4321-908A-0EF8756F47D3/An.app/An
Expected in: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/UIKit.framework/UIKit
in /Users/Stunner/Library/Application Support/iPhone Simulator/5.0/Applications/C26FFA60-BB4A-4321-908A-0EF8756F47D3/An.app/An
What perplexes me is that I have a sample app for the library I created, and when run on iOS 5, it runs fine. I am suspecting that there may be additional build settings in the third-party application that is causing me to see this error.
In my sample app I have the following linker flag:
-ObjC
The third party app has these:
-ObjC -lxml2 -lz -all_load

Resources