-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
let crash = Xcode15 + iOS13 #1006
Comments
升级到新版本(v2.0.4) 同样出现问题. |
It looks like a bug of xcode |
Xcode 15 正式版也有这个问题。启动必崩 |
Xcode 15正式版 iOS 12 系统上也是必崩 |
我的在iOS 12 系统上也是必崩 |
这个问题是因为xcode15用了新的链接器导致的,需要将build setting->other linker flags里面添加-Wl和-ld_classic,使用旧的链接器即可,参考https://developer.apple.com/forums/thread/736203 |
但这个崩溃在iOS14上通过添加-Wl和-ld_classic还是没解决到,这里麻烦作者能否看看是啥情况不? @Qiuwen-chen |
是改主工程的build Setting还是wcdb的? |
主工程的 |
我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死 |
If you are using Cocoapods, -Wl,-ld_classic options must also be added to the OTHER_LDFLAGS in the Pods's project setting as well. "Copy from GordonLJY" |
在Other Linker Flags里加上-ld_classic或者-ld64,我随便加哪个都能解决这个崩溃,大家加一个不行的话加另一个试试 |
加-ld64试试 |
三个都加了,还是启动崩溃 |
加-ld64,其他两个不需要。 |
Xcode 15, 真机 iOS 13.7 还是崩溃 |
iOS12崩溃,检查一下Asset Catalog Compiler这一项 Generate Swift Asset Symbol Framework Support,把SwiftUI去掉 |
我在iOS12真机上测试,加上-ld64崩溃栈就不在wcdb里面了,Generate Swift Asset Symbol Framework Support设置把SwiftUI去掉之后就正常了。手边没有13.7的设备😂 |
真机iOS13.7还是一样,崩溃在WCDB里面。真机iOS15.7什么都不就没问题。 |
如果您使用 Cocoapods,还必须将 -Wl,-ld_classic 选项添加到 Pod 项目设置中的 OTHER_LDFLAGS 中。
如果您使用 Cocoapods,还必须将 -Wl,-ld_classic 选项添加到 Pod 项目设置中的 OTHER_LDFLAGS 中。真机iOS13.7,这样就可以运行了。 |
看看Project里是否还有引入其他子project ,所有的 project里都别遗漏 -ld64, |
|
这个方案可以解决我13.6报错,您使用 Cocoapods,还必须将 -Wl,-ld_classic 选项添加到 Pod 项目设置中的 OTHER_LDFLAGS 中。真机iOS13.6,这样就可以运行了。 |
The language of WCDB
The version of WCDB
The platform of WCDB
The installation of WCDB
What's the issue?
The text was updated successfully, but these errors were encountered: