[cfe-dev] Compile database and Xcode (ObjC)
Alberto Lagos via cfe-dev
cfe-dev at lists.llvm.org
Wed Dec 4 05:48:57 PST 2019
Hi, i'm working with libtooling for Objective-C. My problem is Xcode. I
generate the compile_commands.json with the following command:
xcodebuild -scheme "EMA - In House" | xcpretty -r json-compilation-database
at the moment of running my tool
it shows me the following:
error: unknown argument: '-index-store-path'
if i disable the related option in xcode, generate gain the
compile_commands.json and run again the tool, another error prompt out:
fatal error: no handler registered for module format 'obj'
LLVM ERROR: unknown module format
Is really annoying. I just want to process all the files under a project in
Any of you guys know how to fix this? what i'm doing wrong here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev