在我以前的项目中,我可以.pch
在Supporting Files下找到该文件.
但现在在Xcode 6中,我找不到任何.pch
文件.我应该采取任何措施来制作这个文件吗?
这样的事情在调试时让我发疯:
(lldb) p self.bounds
error: unsupported expression with unknown type
error: unsupported expression with unknown type
error: 2 errors parsing expression
(lldb) p (CGRect)self.bounds
error: unsupported expression with unknown type
error: unsupported expression with unknown type
error: C-style cast from '<unknown type>' to 'CGRect' is not allowed
error: 3 errors parsing expression
(lldb) p [self bounds]
error: 'bounds' has unknown return type; cast the call to its declared return type
error: 1 errors parsing expression
(lldb) p (CGRect)[self bounds]
(CGRect) …
Run Code Online (Sandbox Code Playgroud)