error: invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)问题的解决方法

问题描述:

Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Users/apple/Desktop/每日工作/4月21日/4月22日/ZhiHuiLvYou/ZhiHuiLvYou/ZhiHuiLvYou-Prefix.pch:7:9: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h:8:9: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:11:10: Could not build module 'Darwin'


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:10: Could not build module 'CoreFoundation'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/objc/objc.h:31:10: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h:32:10: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h:159:11: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:8:9: Could not build module 'Foundation'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:16:10: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h:29:11: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.0/include/stdint.h:33:16: Could not build module 'Darwin'


Invalid deployment target '6.1.0' for architecture 'arm64' (requires '7.0.0' or later)


/Applications/Xcode 2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h:8:10: Could not build module 'Foundation'


解决方法:

选择项目的PROJECT,在BuildSetting中搜索valid或者arch,找到Architectures下面的Valid Architectures,把arm64 armv7 arm7s中的arm64删掉即可:

删除的方法:双击arm64 armv7 arm7s,在弹出框中选中arm64,点击下面的减号。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值