gpt4 book ai didi

ios - XCode 7 调试器不工作

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

我在 XCode 7 中将我的项目转换为 iOS 9。

我注意到我收到了很多这样的警告:

warning: Could not resolve external type c:objc(cs)NSArray
warning: Could not resolve external type c:objc(cs)UIView
warning: Could not resolve external type c:objc(cs)NSString
warning: Could not resolve external type c:objc(cs)NSNumber
warning: Could not resolve external type c:objc(cs)NSObject
warning: Could not resolve external type c:objc(cs)UIWebView
warning: Could not resolve external type c:objc(cs)UIView
warning: Could not resolve external type c:objc(cs)NSObject
warning: Could not resolve external type c:@S@_NSRange
warning: Could not resolve external type c:objc(cs)NSURL
warning: Could not resolve external type c:objc(cs)NSBundle
warning: Could not resolve external type c:objc(cs)NSException

从我读到的需要设置 GCC_GENERATE_DEBUGGING_SYMBOLS为 NO,这将删除此警告,它确实有效。但现在调试器不会在我设置的任何断点处停止。当我设置 GCC_GENERATE_DEBUGGING_SYMBOLS是的,调试器工作正常。

任何的想法?

最佳答案

在您的“build设置”中尝试设置这些参数:

Enable Clang Module Debugging = NO
Debug Information Format = DWARF with dSYM
Precompile Prefix Header = NO

并重建您的项目。

关于ios - XCode 7 调试器不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35863593/

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