Xcode 不会为 iPhone 6 编译

Xcode won't compile for iPhone 6

我有一个旧项目,在我的 iPhone 4 上编译得很好,但是当我尝试为我的 iPhone 6 编译时,我遇到了这个明星can't specifiy -Q with -arch arm64

这是什么意思?有人知道吗?

这是我的项目设置截图: 第二个是我的项目子模块会议截图:

CompileC /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.o AVAnimator/maxvid_decode_arm.s normal arm64 assembler-with-cpp com.apple.compilers.llvm.clang.1_0.compiler
cd "/Users/hashem/Desktop/Xcode Projects/Gulestan"
export LANG=en_US.US-ASCII
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x assembler-with-cpp -arch arm64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wmissing-prototypes -Wunreachable-code -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wno-newline-eof -DDEBUG=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -miphoneos-version-min=7.0 -iquote /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-generated-files.hmap -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-own-target-headers.hmap -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-all-target-headers.hmap -iquote /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/iGolestan-project-headers.hmap -iquote../OHAttributedLabel -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Products/Debug-iphoneos/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/DerivedSources/arm64 -I/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/DerivedSources -F/Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Products/Debug-iphoneos -no-integrated-as -MMD -MT dependencies -MF /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.d --serialize-diagnostics /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.dia -c /Users/hashem/Desktop/Xcode\ Projects/Gulestan/AVAnimator/maxvid_decode_arm.s -o /Users/hashem/Library/Developer/Xcode/DerivedData/iGolestanWorkSpace-adtgzikxceksufgpstzqxkjvkepa/Build/Intermediates/iGolestan.build/Debug-iphoneos/iGolestan.build/Objects-normal/arm64/maxvid_decode_arm.o

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as: can't specifiy -Q with -arch arm64
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

您正在尝试编译 AVAnimator/maxvid_decode_arm.s,它是 ARM64 构建目标下的 32 位 ARM asm 代码。您需要将嵌入到应用中的 AVAnimator 库的版本更新到 github HEAD,以便为 ARM64 编译。