<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:΢ÈíÑźÚ
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi, all<br> I find that the "xcodebuild" can work if I turn off the "Precompile Prefix Header" in "Build Settings". Are there other ways to fix it? And why clang change <br>my option?<br><br>Thanks,<br>Maxs<br><br><div><hr id="stopSpelling">To: cfe-dev@lists.llvm.org<br>Date: Wed, 2 Sep 2015 07:04:30 +0000<br>Subject: [cfe-dev] Error in ProcessPCH (xcodebuild)<br>From: cfe-dev@lists.llvm.org<br><br>
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:΢ÈíÑźÚ;
}
--></style>
<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</div></div></div></div> </div></body>
</html>