Code Monkey home page Code Monkey logo

Comments (24)

Sheldon-WDG avatar Sheldon-WDG commented on June 13, 2024 3

我xcode15正式版加了以上-Wl和-ld_classic两个参数,还是一样启动奔溃无法运行...晕死

加-ld64,其他需要。

Xcode 15、真机 iOS 13.7 还是崩溃

我在iOS12真机上测试,加上-ld64崩溃栈就不在wcdb里面了,生成Swift Asset Symbol Framework支持设置把SwiftUI去掉之后就正常了。手边没有13.7的设备😂

如果您使用 Cocoapods,还必须将 -Wl,-ld_classic 选项添加到 Pod 项目设置中的 OTHER_LDFLAGS 中。

我xcode15正式版加了以上-Wl和-ld_classic两个参数,还是一样启动奔溃无法运行...晕死

加-ld64,其他需要。

Xcode 15、真机 iOS 13.7 还是崩溃

我在iOS12真机上测试,加上-ld64崩溃栈就不在wcdb里面了,生成Swift Asset Symbol Framework支持设置把SwiftUI去掉之后就正常了。手边没有13.7的设备😂

真机iOS13.7还是一样,崩溃在WCDB里面。真机iOS15.7什么都不是什么问题。

如果您使用 Cocoapods,还必须将 -Wl,-ld_classic 选项添加到 Pod 项目设置中的 OTHER_LDFLAGS 中。真机iOS13.7,这样就可以运行了。

from wcdb.

popipo-yr avatar popipo-yr commented on June 13, 2024 2

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

image
xcode15+iOS14,也出现了必现崩溃

WX20230925-152018 1695626386927
我也是xcode15+iOS13,出现了必现的崩溃,我使用的WCDB版本是1.0.7.5

这个问题是因为xcode15用了新的链接器导致的,需要将build setting->other linker flags里面添加-Wl和-ld_classic,使用旧的链接器即可,参考https://developer.apple.com/forums/thread/736203

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"

from wcdb.

yhcflyy avatar yhcflyy commented on June 13, 2024 1

image

xcode15+iOS14,也出现了必现崩溃

WX20230925-152018 1695626386927

我也是xcode15+iOS13,出现了必现的崩溃,我使用的WCDB版本是1.0.7.5

这个问题是因为xcode15用了新的链接器导致的,需要将build setting->other linker flags里面添加-Wl和-ld_classic,使用旧的链接器即可,参考https://developer.apple.com/forums/thread/736203

from wcdb.

ijunfly avatar ijunfly commented on June 13, 2024

升级到新版本(v2.0.4) 同样出现问题.

from wcdb.

yhcflyy avatar yhcflyy commented on June 13, 2024

WX20230925-152018
1695626386927

我也是xcode15+iOS13,出现了必现的崩溃,我使用的WCDB版本是1.0.7.5

from wcdb.

yhcflyy avatar yhcflyy commented on June 13, 2024

WX20230925-152148

xcode15+iOS14,也出现了必现崩溃

from wcdb.

Qiuwen-chen avatar Qiuwen-chen commented on June 13, 2024

It looks like a bug of xcode

from wcdb.

GCSNNB avatar GCSNNB commented on June 13, 2024

It looks like a bug of xcode

Xcode 15 正式版也有这个问题。启动必崩

from wcdb.

cuocuo avatar cuocuo commented on June 13, 2024

Xcode 15正式版 iOS 12 系统上也是必崩

from wcdb.

wangruichuan826 avatar wangruichuan826 commented on June 13, 2024

我的在iOS 12 系统上也是必崩

from wcdb.

yhcflyy avatar yhcflyy commented on June 13, 2024

WX20230925-152148

xcode15+iOS14,也出现了必现崩溃

但这个崩溃在iOS14上通过添加-Wl和-ld_classic还是没解决到,这里麻烦作者能否看看是啥情况不? @Qiuwen-chen

from wcdb.

GCSNNB avatar GCSNNB commented on June 13, 2024

-ld_classic

是改主工程的build Setting还是wcdb的?

from wcdb.

yhcflyy avatar yhcflyy commented on June 13, 2024

-ld_classic

是改主工程的build Setting还是wcdb的?

主工程的

from wcdb.

saxiang avatar saxiang commented on June 13, 2024

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

from wcdb.

wei287030375 avatar wei287030375 commented on June 13, 2024

在Other Linker Flags里加上-ld_classic或者-ld64,我随便加哪个都能解决这个崩溃,大家加一个不行的话加另一个试试

from wcdb.

wei287030375 avatar wei287030375 commented on June 13, 2024

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

加-ld64试试

from wcdb.

Sheldon-WDG avatar Sheldon-WDG commented on June 13, 2024

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

加-ld64试试

三个都加了,还是启动崩溃

from wcdb.

xuebo2215 avatar xuebo2215 commented on June 13, 2024

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

加-ld64,其他两个不需要。

from wcdb.

Sheldon-WDG avatar Sheldon-WDG commented on June 13, 2024

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

加-ld64,其他两个不需要。

Xcode 15, 真机 iOS 13.7 还是崩溃

from wcdb.

xuebo2215 avatar xuebo2215 commented on June 13, 2024

iOS12崩溃,检查一下Asset Catalog Compiler这一项 Generate Swift Asset Symbol Framework Support,把SwiftUI去掉

from wcdb.

xuebo2215 avatar xuebo2215 commented on June 13, 2024

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

加-ld64,其他两个不需要。

Xcode 15, 真机 iOS 13.7 还是崩溃

我在iOS12真机上测试,加上-ld64崩溃栈就不在wcdb里面了,Generate Swift Asset Symbol Framework Support设置把SwiftUI去掉之后就正常了。手边没有13.7的设备😂

from wcdb.

Sheldon-WDG avatar Sheldon-WDG commented on June 13, 2024

我xcode15 正式版 加了以上-Wl和-ld_classic两个参数, 还是一样启动奔溃 无法运行...晕死

加-ld64,其他两个不需要。

Xcode 15, 真机 iOS 13.7 还是崩溃

我在iOS12真机上测试,加上-ld64崩溃栈就不在wcdb里面了,Generate Swift Asset Symbol Framework Support设置把SwiftUI去掉之后就正常了。手边没有13.7的设备😂

真机iOS13.7还是一样,崩溃在WCDB里面。真机iOS15.7什么都不就没问题。

from wcdb.

Cologne88 avatar Cologne88 commented on June 13, 2024

看看Project里是否还有引入其他子project ,所有的 project里都别遗漏 -ld64,
我主Project设置后没有设置子Project 所以一直崩溃,都设置后,现在OK了。

from wcdb.

Cologne88 avatar Cologne88 commented on June 13, 2024

看看Project里是否还有引入其他子project ,所有的 project里都别遗漏 -ld64, 我主Project设置后没有设置子Project 所以一直崩溃,都设置后,现在OK了。

from wcdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.