Xcode 5命令行:架构'arm64'的无效部署目标'3.0.0' [英] Xcode 5 Command Line: invalid deployment target '3.0.0' for architecture 'arm64'
本文介绍了Xcode 5命令行:架构'arm64'的无效部署目标'3.0.0'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用iOS 7 SDK从Xcode 5下的命令行构建一个胖胖的Crypto ++库。 iOS 7 SDK包含 arm64
目标。对于 armv7
和 armv7s
架构一切顺利,但 arm64
是另一回事:
I'm building a fat Crypto++ library from the command line under Xcode 5 with the iOS 7 SDK. The iOS 7 SDK includes the arm64
target. All goes well for the armv7
and armv7s
architectures, but arm64
is a different matter:
clang++ -DNDEBUG -g -Os -pipe -fPIC -DCRYPTOPP_DISABLE_ASM -arch arm64
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-Wno-tautological-compare -Wno-unused-value -c 3way.cpp
error: invalid deployment target '3.0.0' for architecture 'arm64' (requires '7.0.0' or later)
1 error generated.
make: *** [3way.o] Error 1
我从未经历过之前的错误,搜索产生没有命中。关于如何进行的任何想法?
I've never experienced the error before, and searching produced no hits. Any ideas on how to proceed?
提前致谢。
推荐答案
添加命令行选项:
-mios-version-min=7.0.0
或:
-miphoneos-version-min=7.0.0
请参阅 clang reference 。
这篇关于Xcode 5命令行:架构'arm64'的无效部署目标'3.0.0'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文