How to pass build flags to Xcode?


#1

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?


#2

Hello, there.

Try overriding script.

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


#3

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?


#4

Why?


#5

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


#6

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


#7

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