简体   繁体   English

错误“ ONLY_ACTIVE_ARCH = YES,活动arch = x86_64,VALID_ARCHS = i386”

[英]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.

相关问题 Xcode 5.1 - 没有要编译的体系结构(ONLY_ACTIVE_ARCH = YES,活动arch = x86_64,VALID_ARCHS = i386) - Xcode 5.1 - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386) 没有要编译的体系结构(ONLY_ACTIVE_ARCH = YES,活动arch = armv7,VALID_ARCHS = armv6 i386) - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv7, VALID_ARCHS=armv6 i386) 没有要编译的架构 (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 arm64) Xcode 12 - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=armv7 arm64) Xcode 12 Xcode 12 - 没有要编译的架构(ONLY_ACTIVE_ARCH=YES,active arch=x86_64,VALID_ARCHS=arm64e armv7s arm64 arm7) - Xcode 12 - No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=arm64e armv7s arm64 arm7) iPhone 5S特定错误:没有要编译的体系结构(ONLY_ACTIVE_ARCH = YES,活动arch = arm64,VALID_ARCHS = armv7 armv7s) - iPhone 5S Specific Error: No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=arm64, VALID_ARCHS=armv7 armv7s) i386体系结构和ONLY_ACTIVE_ARCH的未定义符号 - Undefined symbol for i386 architecture and ONLY_ACTIVE_ARCH 检查依赖项...没有要编译的体系结构(ARCHS = i386,VALID_ARCHS = arm64 armv7s armv7) - Check dependencies… No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7s armv7) 没有要编译的架构(ARCHS = i386,VALID_ARCHS = arm64 armv7 armv7s) - No architectures to compile for (ARCHS=i386, VALID_ARCHS=arm64 armv7 armv7s) 错误ITMS-9000无效的体系结构x86_64,i386 - Error ITMS-9000 Invalid Architectures x86_64, i386 错误ITMS-9000:“不支持的体系结构。 您的可执行文件包含不受支持的体系结构'[x86_64,i386]'“ - ERROR ITMS-9000: “Unsupported architectures. Your executable contains unsupported architectures '[x86_64, i386]'”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM