Bitrise adding additional directory in build path?

How do you run this xcode command? With an Xcode step or from a Script step?

In general there’s absolutely no Bitrise specific thing going on. Even if you use an Xcode step that prints the whole xcodebuild command it will run, and it does not modify anything on that command, it just runs it.

I’d suggest you to try these local debug/reproduction steps, and let us know if that helps / how that goes:

Is this build script an Xcode Build Phase script, or you’re referring to a build step/script?