I have Jenkins server for autobuilding iOS project that has two targets.
Project builds with command-line utility xcodebuild.
Full commands are
/
I found crutch-like solution: select Legacy Build System at File -> Workspace Settings -> Build System in Xcode GUI.
Why this solution is bad? Because of:
Legacy Build System is slower than New Build System (Default).
It's not Xcode setting but workspace. I.e. after cleaning workspace folder in Jenkins or some version control system actions will reset this setting to default, and non-working option will select again.