[英]an error “ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386”
We have Xcode Version 6.1.1 (6A2008a)
.Resently my clinet send new project.it some one developed 45%.So then i code run on my Xcode i got errors like this 我们有Xcode版本6.1.1 (6A2008a)
现在我的客户端发送了一个新项目,其中一个开发了45%。所以我在Xcode上运行代码时出现了这样的错误
ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386
After doing my R&D about this errors.Some one told changed Architectures in Xcode .Then i Changed like this 在针对这个错误进行研发之后,有人告诉Xcode中更改了Architectures,然后我像这样更改了
Architectures:Standard architectures(armv7,arm64)-$(ARCHS_STANDARD)
Build Active Architecture Only NO
Debug NO
Release NO
Valid Architectures:arm64 armv7 armv7s
Please guide me how to solved this 请指导我如何解决这个问题
My OS X version 10.9.4
Processor:2.5GHz Intel Core i5
我的OS X version 10.9.4
Processor:2.5GHz Intel Core i5
Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_PlanITOSClient", referenced from: objc-class-ref in ServiceViewController.o 2)ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation 架构x86_64的未定义符号:“ _ OBJC_CLASS _ $ _ PlanITOSClient”,引用自:ServiceViewController.o中的objc-class-ref 2)ld:架构x86_64的符号未找到clang:错误:链接器命令失败,退出代码为1(使用-v查看调用
-- Means your class ServiceViewController
file is missing -意味着您的类ServiceViewController
文件丢失
type 1 类型1
Check if that file is included in Build Phases -> Compiled Sources 检查该文件是否包含在Build Phases-> Compiled Sources中
type 2 2型
Make sure the ServiceViewController is a Target Member; 确保ServiceViewController是目标成员;
type 3 类型3
your class "Format" is involved in the problem. 您的课程“格式”与问题有关。 Check your declaration of this class, especially if you did it inside an other class you probably forget the @implementation or some stuff like that 检查您对此类的声明,尤其是如果您在另一个类中进行了声明,则可能会忘记@implementation或类似的东西
type 4 4型
the above three types are not working fine please ref this link 上述三种类型均无法正常工作,请参考此链接
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.