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

前端 未结 30 2046
小蘑菇
小蘑菇 2020-11-22 04:27

I am trying to run a Swift app on my iPhone 4s. It works fine on the simulator, and my friend can successfully run it on his iPhone 4s. I have iOS 8 and the official release

30条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-11-22 05:06

    You have to set the Runpath Search Paths to @executable_path/Frameworks as showed in the following screenshot of Build Settings:

    If you have any embedded frameworks made in Swift, than you can set to YES the Build Options Embedded Content Contains Swift Code.

提交回复
热议问题