【发布时间】:2019-10-26 09:37:41
【问题描述】:
使用 RubyMotion 的现有或新项目会出现以下错误
dlopen(/Applications/Xcode.app/Contents/Developer/../Frameworks/libswiftCore.dylib, 2): image not found 和模拟器打不开
【问题讨论】:
-
您使用的是什么操作系统、Xcode 和 RM 版本?
标签: rubymotion
使用 RubyMotion 的现有或新项目会出现以下错误
dlopen(/Applications/Xcode.app/Contents/Developer/../Frameworks/libswiftCore.dylib, 2): image not found 和模拟器打不开
【问题讨论】:
标签: rubymotion
系统详情
- Mojave
- Xcode 11.1
- Latest public Rubymotion from the website
那么对于上述错误:
dlopen(/Applications/Xcode.app/Contents/Developer/../Frameworks/libswiftCore.dylib, 2): image not found
或者
objc[98906]: Class __SwiftNativeNSIndexSetBase is implemented in both /usr/lib/swift/libswiftCore.dylib (0x7fff924d4e98) and /Applications/Xcode.app/Contents/Frameworks/libswiftCore.dylib (0x1058f3f20)
此 libswiftCore.dylib 副本需要 10.14.4 之前的操作系统版本。
跑
sudo cp -r /usr/lib/swift/*.dylib /Applications/Xcode.app/Contents/Frameworks
sudo touch /Applications/Xcode.app/Contents/Frameworks/.swift-5-staged
【讨论】: