When I tried to run my app with Xcode 9 on iPhone 5s which is updated with iOS 11, App gets crashed on the launch screen. The log printed is:
dyld: Symbol not found: _SCNSceneExportPresentationTree
Referenced from: /Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
Expected in: /System/Library/Frameworks/SceneKit.framework/SceneKit
in /Developer/Library/PrivateFrameworks/DTDDISupport.framework/libViewDebuggerSupport.dylib
From the log, it seems that it is because of some new ARKit changes with Xcode, but my app does not use any of the ARKit related frameworks.
Can anyone help here?
Related
Our app has iOS 14.0 as the min. deployment target. We've been able to test perfectly well using the iOS 15.0 simulator, as well as an iOS 14.5 devices on release builds.
Yesterday, to address an iOS 14 visual bug, I tried building a debug build from Xcode on iOS 14 (both simulator and a real device) and it instantly crashed with the following error message:
Thread 1: signal SIGABRT
There was no line of our own app code executed - it crashed before hitting the breakpoint in func application(_ application: UIApplication, didFinishLaunchingWithOptions).
The console output was as follows:
dyld: Symbol not found: _$sSo22NSManagedObjectContextC8CoreDataE5fetchySayypGSo14NSFetchRequestCySo0gH6Result_pGKF
Referenced from: /Users/jacob/Library/Developer/CoreSimulator/Devices/F0DD4D51-D749-4A0D-B40D-1A70B2F0120B/data/Containers/Bundle/Application/0B1C5FF3-66F9-4046-807F-37A1C4773E70/Gener8.app/Gener8
Expected in: /usr/lib/swift/libswiftCoreData.dylib
dyld: launch, loading dependent libraries
DYLD_SHARED_CACHE_DIR=/Users/jacob/Library/Developer/CoreSimulator/Caches/dyld/21F2081/com.apple.CoreSimulator.SimRuntime.iOS-14-5.18E182
DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot
DYLD_LIBRARY_PATH=/Users/jacob/Library/Developer/Xcode/DerivedData/Gener8-ayxdgejxdmjsncfcxxrqtyrsroer/Build/Products/Debug-iphonesimulator:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection
DYLD_INSERT_LIBRARIES=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libBacktraceRecording.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMainThreadChecker.dylib:/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/libMTLCapture.dylib:/Library/Developer/CoreSimul
Has anyone got an idea how I go about debugging this?
We are using core data in some parts of the app, hence the NSManagedObjectContext at the start of the error message.
I've just recently started working with Xcode, trying to build iOS version of our Unity3D game that is already made for Android. The problem I'm having occurs when trying to start my app in Xcode simulator, tried to find my exact problem in here but nobody is mentioning "__vtcOnSessionStart". Full error message:
dydl: Symbol not found: __vtcOnSessionStart
Referenced
from:/Users/kostitch/Library/Developer/CoreSimulator/Devices/ED13FE1B-5F33-4E82-8A68-66C59F043E0F/data/Containers/Bundle/Application/BC7ED012-F851-4BF2-89DD-964C198C9300/basicbingotwo.app/basicbingotwo
Expected in: flat namespace
For some reason I'm getting this in the iPhone Simulator when I try to call AddComponent on a script-created GameObject during another object's Awake() method. Removing this fixed the error.
I've been getting reports of my app crashing on load in iOS 6. It's built with the iOS 8 SDK and works fine on 7 & 8.
I've just managed to get hold of an iOS 6 device to test and it does in fact crash on launch with the error:
dyld: Symbol not found: _UITransitionContextFromViewControllerKey
Referenced from:
/var/mobile/Applications/895BC1B3-A362-42C9-8560-5CF40A682A10/myapp.app/MyApp
Expected in: /System/Library/Frameworks/UIKit.framework/UIKit in
/var/mobile/Applications/895BC1B3-A362-42C9-8560-5CF40A682A10/myapp.app/MyApp
I understand that dyld is a linker problem, but have no idea where to start with this.
I've unlinked and re-added UIKit, but still doesn't work.
Thanks
This is because UITransitionContextFromViewControllerKey doesn't exist until iOS 7. Working around this probably isn't worth the effort--it means dropping all usage of UIViewControllerContextTransitioning, as the protocol is new in iOS 7, or creating a separate code path for iOS 6. If that's what you want, look into weak-linking UIKit, although this may result in slow startup.
Look like your using UIViewControllerContextTransitioning. It's available only on iOS 7+.
See this question for more details Restore pre-iOS7 UINavigationController pushViewController animation
The error log is:
dyld: lazy symbol binding failed: Symbol not found: ___sincos_stret
Referenced from:
/var/mobile/Applications/A40285D5-6B3E-4DE1-8B75-A1D5841A0/*.app/*
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: ___sincos_stret
Referenced from: /var/mobile/Applications/A40285D5-6B3E-4DE1-8B75-A1D5841A0/*.app/*
Expected in: /usr/lib/libSystem.B.dylib
My app works fine in iOS 6 debug and iOS 7 debug and release, but crashes in iOS 6 release.
The detail is that I import in my .mm file, and it crashes when call the cos() function.
I just worked on this question for the whole day, really crazy. Please help me if someone can work it out. Thank you very much,
I am getting this error while running the application.Kindly provide some information on this error
dyld: Symbol not found: _OBJC_CLASS_$_UICollectionViewCell
The problem may be with the IPHONEOS_DEPLOYMENT_TARGET
make it proper in
Target->BuildSettings->IPHONEOS_DEPLOYMENT_TARGET
Target->Summary->iOS Application Target.
UICollectionView & UICollectionViewCell is for iOS 6 and later and hence it may be set to lower version the error pops up