【发布时间】:2016-06-22 04:12:12
【问题描述】:
我在 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 设置为 YES 时,调试器工作正常。
有什么想法吗?
【问题讨论】:
-
这个问题你解决了吗?
标签: ios objective-c iphone xcode debugging