<div dir="ltr">Hi, i'm working with libtooling for Objective-C. My problem is Xcode. I generate the compile_commands.json with the following command:<br><br>xcodebuild -scheme "EMA - In House" | xcpretty -r json-compilation-database --output compile_commands.json<br><br>at the moment of running my tool<br><br>~/llvm-project/build/Debug/bin/clang-my-tool MyClass.m<br><br>it shows me the following:<br><br>error: unknown argument: '-index-store-path'<br><br>if i disable the related option in xcode, generate gain the compile_commands.json and run again the tool, another error prompt out:<br><br>fatal error: no handler registered for module format 'obj'<br>LLVM ERROR: unknown module format<br><br>Is really annoying. I just want to process all the files under a project in xcode.<br><br>Any of you guys know how to fix this? what i'm doing wrong here?<br><br>thanks!.</div>