<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:΢ÈíÑźÚ;
}
--></style>
<div dir="ltr">Hi, all<br> When I use "xcodebuild" to build my iOS project, the process stopped in compling "PrefixHeader.pch". I use the following command:<br><br> => xcodebuild -project xxx -scheme yyy build OTHER_CFLAGS="-mllvm -xt-obf"<br><br> the error messages are:<br> <br> => clang (LLVM option parsing): Unknown command line argument '-xt-obf-header'. Try: 'clang (LLVM option parsing) -help'<br> clang (LLVM option parsing): Did you mean '-xt-obf'?<br><br> That means: The "clang" compiler change my "xt-obf" to "xt-obf-header" in compling "PrefixHeader.pch". <br> I want to kown the reseaon and the way to fix it. Can anyone help me ? Thanks. <br><br>Maxs<br>====================================================================================================<br> The compiling command's details are as follows:<br><br>ProcessPCH
Build/Intermediates/ArchiveIntermediates/Meizi/PrecompiledHeaders/PrefixHeader-cezacppvwgfcdwanbcmjxifonvwx/PrefixHeader.pch.pch
Meizi/PrefixHeader.pch normal armv7 objective-c
com.apple.compilers.llvm.clang.1_0.compiler<br> cd /Users/netease/Desktop/SRC_github/Meizi<br> export LANG=en_US.US-ASCII<br>
export
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/netease/Downloads/Users/ryuichis/Projects/L/oclint-08/build/oclint-0.8.1/bin:/Users/netease/Desktop/llvm-build/bin:/opt/iOSOpenDev/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"<br>
/Users/netease/Desktop/llvm-build-debug/bin/clang -x objective-c-header
-arch armv7 -fmessage-length=0 -fdiagnostics-show-note-include-stack
-fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -fmodules
-fmodules-cache-path=/Users/netease/Desktop/SRC_github/Meizi/ModuleCache
-fmodules-prune-interval=86400 -fmodules-prune-after=345600
-fbuild-session-file=/Users/netease/Desktop/SRC_github/Meizi/ModuleCache/Session.modulevalidation
-fmodules-validate-once-per-build-session
-Wnon-modular-include-in-framework-module
-Werror=non-modular-include-in-framework-module -Wno-trigraphs
-fpascal-strings -Os -Wno-missing-field-initializers
-Wno-missing-prototypes -Werror=return-type -Wunreachable-code
-Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage
-Werror=objc-root-class -Wno-receiver-is-weak
-Wno-arc-repeated-use-of-weak -Wduplicate-method-match
-Wno-missing-braces -Wparentheses -Wswitch -Wunused-function
-Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value
-Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas
-Wno-shadow -Wno-four-char-constants -Wno-conversion
-Wconstant-conversion -Wint-conversion -Wbool-conversion
-Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof
-Wno-selector -Wno-strict-selector-match -Wundeclared-selector
-Wno-deprecated-implementations -DCOCOAPODS=1 -DNS_BLOCK_ASSERTIONS=1
-DOBJC_OLD_DISPATCH_PROTOTYPES=0 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.4.sdk
-fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g
-fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=8.0
-iquote
/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/IntermediateBuildFilesPath/Meizi.build/Release-iphoneos/Meizi.build/Meizi-generated-files.hmap
-I/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/IntermediateBuildFilesPath/Meizi.build/Release-iphoneos/Meizi.build/Meizi-own-target-headers.hmap
-I/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/IntermediateBuildFilesPath/Meizi.build/Release-iphoneos/Meizi.build/Meizi-all-target-headers.hmap
-iquote
/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/IntermediateBuildFilesPath/Meizi.build/Release-iphoneos/Meizi.build/Meizi-project-headers.hmap
-I/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/BuildProductsPath/Release-iphoneos/include
-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/AFDownloadRequestOperation
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/AFNetworking
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/DACircularProgress
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/HMSegmentedControl
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/MBProgressHUD
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/MJExtension
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/MJRefresh
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/MWPhotoBrowser
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/NHBalancedFlowLayout
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/SDWebImage
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/SVProgressHUD
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/UIActivityIndicator-for-SDWebImage
-I/Users/netease/Desktop/SRC_github/Meizi/Pods/Headers/Public/YTKNetwork
-I/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/IntermediateBuildFilesPath/Meizi.build/Release-iphoneos/Meizi.build/DerivedSources/armv7
-I/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/IntermediateBuildFilesPath/Meizi.build/Release-iphoneos/Meizi.build/DerivedSources
-F/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/BuildProductsPath/Release-iphoneos
-mllvm -xt-obf-header -MD -MT dependencies -MF
/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/PrecompiledHeaders/PrefixHeader-cezacppvwgfcdwanbcmjxifonvwx/PrefixHeader.pch.d
-c /Users/netease/Desktop/SRC_github/Meizi/Meizi/PrefixHeader.pch -o
/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/PrecompiledHeaders/PrefixHeader-cezacppvwgfcdwanbcmjxifonvwx/PrefixHeader.pch.pch
--serialize-diagnostics
/Users/netease/Desktop/SRC_github/Meizi/Build/Intermediates/ArchiveIntermediates/Meizi/PrecompiledHeaders/PrefixHeader-cezacppvwgfcdwanbcmjxifonvwx/PrefixHeader.pch.dia<br>clang (LLVM option parsing): Unknown command line argument '-xt-obf-header'. Try: 'clang (LLVM option parsing) -help'<br>clang (LLVM option parsing): Did you mean '-xt-obf'?<br>Command /Users/netease/Desktop/llvm-build-debug/bin/clang failed with exit code 1<br> </div></div> </div></body>
</html>