libswiftCore.dylib的此副本需要12.2.0之前的操作系统版本 [英] This copy of libswiftCore.dylib requires an OS version prior to 12.2.0

查看:645
本文介绍了libswiftCore.dylib的此副本需要12.2.0之前的操作系统版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从XCode 10.2(在Swift 5.0迁移之前和之后)在控制台上运行时,该应用在启动时崩溃

The app crashes on launch when running from XCode 10.2 (before and after Swift 5.0 migration) with this on console

此libswiftCore.dylib副本需要一个操作系统版本才能发布 12.2.0.

This copy of libswiftCore.dylib requires an OS version prior to 12.2.0.

我理解该错误,但不确定要解决此问题需要什么.

I understand the error, but not sure what is required to fix this.

推荐答案

确保/usr/lib/swift是运行时搜索的第一个参数 如果iOS> = 12.2,则链接器的路径应加载平台库.

Make sure /usr/lib/swift is the first argument for runtime search paths for linker if iOS >= 12.2, it should load platform libraries.

这篇关于libswiftCore.dylib的此副本需要12.2.0之前的操作系统版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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