[cfe-dev] Error in ProcessPCH (xcodebuild)
Vedant Kumar via cfe-dev
cfe-dev at lists.llvm.org
Wed Sep 9 18:05:58 PDT 2015
It could be that xcodebuild passes "-xt-obj-header" independently of your OTHER_CFLAGS. Also, _if_ some option re-writing is going on, it'd likely be done by xcodebuild (not clang).
If you search "file a bug against Xcode", you might find the right place to send this.
best
vedant
On Sep 2, 2015, at 12:52 AM, 在哪 via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> Hi, all
> 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
> my option?
>
> Thanks,
> Maxs
>
> To: cfe-dev at lists.llvm.org
> Date: Wed, 2 Sep 2015 07:04:30 +0000
> Subject: [cfe-dev] Error in ProcessPCH (xcodebuild)
> From: cfe-dev at lists.llvm.org
>
>
>
> Hi, all
> When I use "xcodebuild" to build my iOS project, the process stopped in compling "PrefixHeader.pch". I use the following command:
>
> => xcodebuild -project xxx -scheme yyy build OTHER_CFLAGS="-mllvm -xt-obf"
>
> the error messages are:
>
> => clang (LLVM option parsing): Unknown command line argument '-xt-obf-header'. Try: 'clang (LLVM option parsing) -help'
> clang (LLVM option parsing): Did you mean '-xt-obf'?
>
> That means: The "clang" compiler change my "xt-obf" to "xt-obf-header" in compling "PrefixHeader.pch".
> I want to kown the reseaon and the way to fix it. Can anyone help me ? Thanks.
>
> Maxs
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list