没有体系结构要编译(ONLY_ACTIVE_ARCH = YES,活动拱= armv7,VALID_ARCHS = armv6 i386)
我正在构build我的iOS应用程序时出现此错误。
没有体系结构要编译( ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386
)。
我正在尝试使用_ACAccountTypeIdentifierTwitter时出现以下错误:
未定义的符号为build筑armv7s:
"_ACAccountTypeIdentifierTwitter", referenced from: -[ClsHomePageViewController twitterLogin:] in ClsHomePageViewController.o "_OBJC_CLASS_$_ACAccountStore", referenced from: objc-class-ref in ClsHomePageViewController.o ld: symbol(s) not found for architecture armv7s clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的架构设置如下:
architectures: Standard Architectures (including 64-bit) (armv7,armv7s,armv64) Base SDK: Latest iOS (iOS 7.0) Build Active Architecture Only: NO Valid Architectures: arm64 armv7s armv7
转到您的项目,打开Project
(不是目标) – > Build Settings
,并将Build Active Architecture Only
设置为NO
:
你可以在你的有效架构列表中添加armv7
。
请检查您的项目架构。 你可以find关于这个架构:
从您的目标 – 构build设置 – 架构,请参阅截图。
2.构build主动架构只有以下Debug被设置为YES。
参考:iOS目前有以下指令集:
(1)。 armv6,支持iPhone,iPhone2,iPhone3G和相应的iTouch
(2)。 armv7,支持机器iPhone4,iPhone4S
(3)。 armv7s,支持机器iPhone5,iPhone5C
(4)。 arm64,支持机器:iPhone5S
- 如何正确修剪由NSFetchedResultsController引入的对象图?
- iOS AssistiveTouch使用自定义键盘时animation较慢
- 以编程方式停止-webkit-overflow-scrolling
- 无法将“UITableViewCell”类型的值转换为“AppName.CustomCellName”
- 横向取消UICollectionViewCells
- iOS只有在不通过XCode运行时才会崩溃。 Concidence?
- AVPlayer使用资源加载器委托来拖延大型video文件
- 限制UIWebview到某些页面
- 是否可以使用sharedHTTPCookieStorage为UIWebView手动设置Cookie?