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

前端 未结 30 1789
小蘑菇
小蘑菇 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:53

    This error message can also be caused when upgrading Xcode (and subsequently to a new version of Swift) and your project uses a framework built/compiled with an older/previous version of Swift.

    In this case rebuilding the framework and re-adding it will fix the problem.

提交回复
热议问题