gradle / gradle-native

The home of Gradle's support for natively compiled languages
https://blog.gradle.org/introducing-the-new-cpp-plugins
Apache License 2.0
92 stars 8 forks source link

Support new build system in Gradle generated Xcode IDE project #956

Open lacasseio opened 5 years ago

lacasseio commented 5 years ago

Expected Behavior

Gradle generated Xcode IDE project is compatible with the new build system made default in Xcode 10.

Current Behavior

The new build system scrambles the Gradle output when using xcodebuild which cause out tests to fail. This issue is somehow related to the new build system where its main feature is to enable more parallel execution between tasks. We suspect this is the cause of the issue with Gradle output.

Context

Similar issues were noticed by cmake:

Steps to Reproduce (for bugs)

Your Environment

big-guy commented 5 years ago

@lacasseio And for clarity, this is only an issue for our testing infrastructure because we're using xcodebuild to simulate what Xcode is going to do with the files generated by Gradle?

lacasseio commented 5 years ago

Most likely yes. The output in Xcode seems fine but I haven't looked much further than that. I'm guessing the legacy build system will be removed in Xcode 11 so we have some time. We can monitor Cmake and see what they come up as a solution.