在使用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
:(这对应于
OTHER_LDFLAGS
文件中的.pbxproj
设置。)这为我消除了警告。如果有人知道解决或解决潜在问题的更好方法,我很乐意听到!
关于ios - 静默警告“无法为[symbol]创建紧凑展开:堆栈subl指令与侏儒堆栈大小太大不同”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60683702/