dyld: Library not loaded: @rpath/libswiftCore.dylib / Image not found

前端 未结 27 2839
我在风中等你
我在风中等你 2020-11-27 14:01

I am running my app from xcode to my iOS device and I get this and black screen on iOS device.

Console text:

dyld: Library not loaded: @rpath/libswif         


        
27条回答
  •  囚心锁ツ
    2020-11-27 14:48

    I had this error in a command line project (Xcode 10.2 and macOS 10.14.3)

    The solution was to update to macOS 10.14.4

    Swift command line projects won’t run on macOS 10.14.3 and earlier unless you install the Swift 5 Runtime Support for Command Line Tools package. Without that package, Swift command line projects crash on launch with “dyld: Library not loaded” errors. (46824656)

    From Swift 5 Release Notes for Xcode 10.2

提交回复
热议问题