dyld:库未加载:@rpath/libswift_stdlib_core.dylib [英] dyld: Library not loaded: @rpath/libswift_stdlib_core.dylib

查看:40
本文介绍了dyld:库未加载:@rpath/libswift_stdlib_core.dylib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将 Swift 类添加到旧的 Xcode 项目后,我收到此错误.

I get this error after adding a Swift class to an old Xcode project.

dyld:库未加载:@rpath/libswift_stdlib_core.dylib

如何让项目再次运行?

推荐答案

对我来说,以前的解决方案都不起作用.我们发现 Build Settings 中有一个标记 ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES(在早期版本中:Embedded Content Contains Swift Code")需要设置为 YES.默认为 NO!

For me none of the previous solutions worked. We discovered that there is an flag ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES (in earlier versions: "Embedded Content Contains Swift Code") in the Build Settings that needs to be set to YES. It was NO by default!

这篇关于dyld:库未加载:@rpath/libswift_stdlib_core.dylib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆