gpt4 book ai didi

ios - 静默警告“无法为[symbol]创建紧凑展开:堆栈subl指令与侏儒堆栈大小太大不同”

转载 作者:行者123 更新时间:2023-12-01 21:59:01 24 4
gpt4 key购买 nike

在使用Swift编写的WatchOS应用程序上,我最近在Xcode中收到以下警告:
Could not create compact unwind for [symbol]: stack subl instruction is too different from dwarf stack size
如何修复或静音?

最佳答案

感谢this discussion,我发现了设置以下链接器标志的建议:

LDFLAGS="-Wl,-no_compact_unwind"

Xcode在哪里?选择要获得警告的目标,然后搜索“链接器”,以便可以将 Other Linker Flags设置为 -Wl,-no_compact_unwind:

Screenshot of "Other Linker Flags" set to "-Wl,-no_compact_unwind"

(这对应于 OTHER_LDFLAGS文件中的 .pbxproj设置。)

这为我消除了警告。如果有人知道解决或解决潜在问题的更好方法,我很乐意听到!

关于ios - 静默警告“无法为[symbol]创建紧凑展开:堆栈subl指令与侏儒堆栈大小太大不同”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60683702/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com