gpt4 book ai didi

ios - 如何在我的 iOS 应用程序中调试 carthage(自有)依赖项?

转载 作者:可可西里 更新时间:2023-11-01 03:19:14 26 4
gpt4 key购买 nike

我有一个 iOS 应用程序项目,有几个私有(private)(拥有)carthage 依赖项,有时我需要调试错误或知道某些方法执行的代码是什么。

我想知道是否有一种简单的方法可以使用运行脚本在 Carthage/Checkouts 中设置框架源代码,这样如果我执行 carthage 更新并运行我的应用程序无需添加子项目即可调试框架源码。

这可以通过在框架构建中包含调试符号来完成吗?如果是的话,我需要做什么才能让它工作?

最佳答案

您是否尝试复制 Carthage - Getting Started 中提到的 dsym 文件? ?

With the debug information copied into the built products directory, Xcode will be able to symbolicate the stack trace whenever you stop at a breakpoint. This will also enable you to step through third-party code in the debugger.

关于ios - 如何在我的 iOS 应用程序中调试 carthage(自有)依赖项?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38548243/

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