相关疑难解决方法(0)

链接器命令失败,架构i386的未定义符号

我正在尝试做半页卷曲功能.这是我正在使用的代码:

#import <QuartzCore/QuartzCore.h>


CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:1.0f];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
[animation setType:(notCurled ? @"mapCurl" : @"mapUnCurl")];
[animation setRemovedOnCompletion:NO];
[animation setFillMode: @"extended"];
[animation setRemovedOnCompletion: NO];
notCurled = !notCurled;
Run Code Online (Sandbox Code Playgroud)

但是我遇到了以下错误

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_CATransition", referenced from:
      objc-class-ref in MyMapViewController.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)


  "_OBJC_CLASS_$_CATransition", referenced from:


      objc-class-ref in SJMapViewController.o


ld: symbol(s) not found for architecture i386


clang: error: linker …
Run Code Online (Sandbox Code Playgroud)

iphone page-curl catransition ios4

10
推荐指数
1
解决办法
3万
查看次数

(null):在__TEXT部分,__ text reloc 3:部分地址(0x7C6C)地址不在任何部分中用于体系结构armv7

升级到Xcode 4.4后,我试图在iPhone或iPad上运行我的(通用)应用程序时遇到这个恼人的链接器错误.如果我在iOS模拟器上运行它,我没有问题...我尝试添加armv6,不包括armv7,但没有运气......任何想法?

xcode

4
推荐指数
1
解决办法
879
查看次数

标签 统计

catransition ×1

ios4 ×1

iphone ×1

page-curl ×1

xcode ×1