Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
嗨,我正在用 cocos2d 编写游戏并使用 ipad 5.0 模拟器。在编译时,我收到了这个链接错误,它说没有找到架构 i386 的 CGRectIntersectsRect 符号。我想我错过了摆脱这个错误的正确框架。有任何想法吗?
我想我缺少正确的框架
对,您要链接的框架是 CoreGraphics。
请注意,您还必须正确
#import <CoreGraphics/CoreGraphics.h>
为了内联函数工作/正确编译。