How to pass build flags to Xcode?

Hello.
I use Travis CI for one of my projects. I need to use “-UseModernBuildSystem=NO” because of some troubles with the new Xcode build system. How should I modify the .travis.yml file to make it work?

Hello, there.

Try overriding script.

https://docs.travis-ci.com/user/languages/objective-c#default-test-script

Hello @BanzaiMan
Thank you for your response. However I don’t want to use the script, I want to use default keys from the .travis.yml file. Is it possible?

Why?

@BanzaiMan Because I want to use the default script described here.

Sorry, but your customization does not fit with how we construct the default script command. Overriding it is the only way.

Do you know where can I find a list of keys for Xcode that I can use in the .travis.yml file?

Imprint