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

前端 未结 27 2853
我在风中等你
我在风中等你 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:34

    I already had the Runpath Search Paths set correctly, but it still didn't work. @Justin Domnitz's answer put me on the right track: Setting "Always Embed Swift Standard Libraries" to Yes in my target's build settings did the trick for me.

提交回复
热议问题