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

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

    In my case, it was just the name of my target :

    I renamed it like this : MyApp.something and the same issue appeared. But I saw in the build Settings window, my product module name has been changed like this MyApp-something. So, I removed the dot in my target name (MyAppSomething) and the issue was gone.

提交回复
热议问题