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

前端 未结 30 1768
小蘑菇
小蘑菇 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 04:55

    I started getting this error when I removed:

    @executable_path/Frameworks
    

    from Runpath Search Paths in my build settings. Replacing it fixed everything up again (thank goodness for source control!)

    I don't know how it got there, but it appears to be needed for a binary to find its embedded Swift runtime.

提交回复
热议问题