Undefined symbols for architecture i386:

沁心 2012-03-25 11:53:04
Undefined symbols for architecture i386:
"_CGContextBeginPath", referenced from:
-[DrawView drawRect:] in DrawView.o
"_CGContextMoveToPoint", referenced from:
-[DrawView drawRect:] in DrawView.o
"_CGContextAddLineToPoint", referenced from:
-[DrawView drawRect:] in DrawView.o
"_CGContextClosePath", referenced from:
-[DrawView drawRect:] in DrawView.o
"_CGContextDrawPath", referenced from:
-[DrawView drawRect:] in DrawView.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
请问该怎样修改喃???
...全文
1082 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
咸清 2012-03-25
  • 打赏
  • 举报
回复
检查引用的类库跟工程的兼容性,还要看Link的type
Bannings 2012-03-25
  • 打赏
  • 举报
回复
尝试把CoreGraphics.framework加入到工程

29,027

社区成员

发帖
与我相关
我的任务
社区描述
主要讨论与iOS相关的软件和技术
社区管理员
  • iOS
  • 大熊猫侯佩
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧