由于libswiftCore.dylib的2个路径,无法构建应用程序

问题描述 投票:0回答:1

升级到Mojave后,我的rubymotion(6.1)应用程序无法编译。我收到以下错误:

Class _TtCs18__stdlib_AtomicInt is implemented in both /usr/lib/swift/libswiftCore.dylib (0x7fffa61010c8) and /Applications/Xcode.app/Contents/Frameworks/libswiftCore.dylib (0x1072be158).
One of the two will be used. Which one is undefined.
Class _TtCs19__EmptyArrayStorage is implemented in both /usr/lib/swift/libswiftCore.dylib (0x7fffa60f31e0) and /Applications/Xcode.app/Contents/Frameworks/libswiftCore.dylib (0x1072b0268).
One of the two will be used. Which one is undefined.
...
"This copy of libswiftCore.dylib requires an OS version prior to 10.14.4"
ruby xcode rubymotion
1个回答
1
投票

这是由Rubymotion人修复的。使用更新的Rubymotion再次运行它我收到一条错误消息,说明该怎么做。

我不得不跑:

sudo cp -r /usr/lib/swift/*.dylib /Applications/Xcode.app/Contents/Frameworks
sudo touch /Applications/Xcode.app/Contents/Frameworks/.swift-5-staged
© www.soinside.com 2019 - 2024. All rights reserved.