New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation contains multiple jobs #611
Comments
some update? |
I add COMPILER_INDEX_STORE_ENABLE=NO in xcodebuild command line help me. Like this |
Ran into same issue using CMake + VSCode with The error seems to have something to do with building Mach-O Universal binaries, which probably shows up to |
I can see this is an issue now with Intel and Apple Silicon. I will mark it as |
I managed to work around my issue with a manually created |
it works for me!! |
I add COMPILER_INDEX_STORE_ENABLE=NO in xcodebuild command line xcodebuild -scheme xxx -workspace xxx.xcworkspace clean && xcodebuild -scheme xxx -workspace xxx.xcworkspace -configuration Debug COMPILER_INDEX_STORE_ENABLE=NO | xcpretty -r json-compilation-database -o compile_commands.json it works for me! Report another error 👉🏻 oclint: error: compilation contains multiple jobs: What should I do? |
I encountered the same problem as you. Did you solve it? How did you solve it? |
请问你最后解决了吗?求 |
请问你 解决了吗 |
没有解决,暂时放弃了OCLint,等他官方修复 |
Issue Summary
Compilation contains multiple jobs , all methods online not work.
Environment
all build method not work
Reproduction Steps
Detailed steps to reproduce the issue.
Sample code
export LC_CTYPE=en_US.UTF-8
cd ${SRCROOT}
xcodebuild -scheme CPSPlannerD -workspace CPSPlanner.xcworkspace clean && xcodebuild -scheme CPSPlannerD -workspace CPSPlanner.xcworkspace -configuration Debug | xcpretty -r json-compilation-database -o compile_commands.json && oclint-json-compilation-database -e Pods -- -report-type xcode
Command to run OCLint with the code above.
Expected Behavior
What do you expect to happen as a result of the reproduction steps?
oclint-json-compilation-database cannot make out a oclint.html as a output file
Actual Behavior
What currently happens as a result of the reproduction steps?
oclint-json-compilation-database
Even Better
Is your project open sourced? If yes, can you point us to your repository?
If not, is it possible to make a small project to illustrate the problem?
If not, can you create a gist with your sample code for us?
i have tried to set COMPILER_INDEX_STORE_ENABLE for NO , and added code
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['COMPILER_INDEX_STORE_ENABLE'] = "NO"
end
end
end
but all not work for me
The text was updated successfully, but these errors were encountered: