Skip to content

Missing library - libswiftCore.dylib error #55

@mingxli

Description

@mingxli

Hi Flash3001,

Thank you for your great work. After updating to XCode 11.4.1 and Visual Studio for Mac v8.5.3, Xamarin.iOS v13.16.0.13 (basically the latest stable version of Xamarin installers). I noticed that my app no longer works for simulators prior to iOS 13. I have tried it with simulators running iOS 12.4, 12.1, 11.4, 11.3, 11.1, 10.3 and 10.2. The app would crash at start up. The following error is found in the Console.app. Any help or suggestion will much appreciated. Thanks you!

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: DYLD, [0x1] Library missing

Application Specific Information:
dyld: launch, loading dependent libraries
DYLD_FALLBACK_LIBRARY_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 11.3.simruntime/Contents/Resources/RuntimeRoot/usr/lib
DYLD_ROOT_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 11.3.simruntime/Contents/Resources/RuntimeRoot
DYLD_FALLBACK_FRAMEWORK_PATH=/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 11.3.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks

Dyld Error Message:
Library not loaded: @rpath/libswiftCore.dylib
Referenced from: /Users/USER/Library/Developer/CoreSimulator/Devices/96CD9E84-F3E6-4B4B-B285-1CC8145585E6/data/Containers/Bundle/Application/B82E43EE-3713-4E18-A3C4-A6ACF1D3CB53/MyApp.app/Frameworks/Charts.framework/Charts
Reason: no suitable image found. Did find:
/usr/lib/swift/libswiftCore.dylib: mach-o, but not built for iOS simulator

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions