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

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

    I'm using Xcode 8.3.3 and Xcode 9.2. The solution for me was to switch my default Xcode from 8 to 9 using Xcode Select:

    $ xcode-select --print-path

    $ sudo xcode-select -switch /Applications/Xcode-9.2.app

    Edit: Actually what seemed to help here was that Xcode 9.2 used the derived data from Xcode 8.3.3. Not a solution but at least it allows me to move forward with my work.

提交回复
热议问题