Is xcodebuild -dry-run command not supported in Xcode10?

when I update my Xcode 9 to Xcode 10 and run command:


xcodebuild -dry-run


I got this error:


Build system information

error: -dry-run is not yet supported in the new build system


my environment:

Xcode 10.0

Build version 10A255

MacOS 10.13.6



Here is my question:

Is -dry-run not supported in Xcode 10 and latter?

But I still find "-dry-run" description in "xcodebuild -h" help document, why?


Thanks in advance!

Accepted Reply

"not yet supported" means will support in later version?

That’s the implication, obviously, but I don’t know enough about this to offer a definite answer.

How long will support again?

And, even if I did, I can’t reliably predict the future.

My recommendation is that, if this feature is important to you, you file a bug report about its absence from the new build system. It’s likely that your bug will get dup’d to an existing bug tracking this work, and that will let you monitor the status of that bug.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

Replies

The error message makes it pretty clear that

-dry-run
is not supported by the new build system, at least not yet. If it’s a critical to your workflow you’ll have to stick with the old build system.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

thank you for your answer.


"not yet supported" means will support in later version?

How long will support again?

"not yet supported" means will support in later version?

That’s the implication, obviously, but I don’t know enough about this to offer a definite answer.

How long will support again?

And, even if I did, I can’t reliably predict the future.

My recommendation is that, if this feature is important to you, you file a bug report about its absence from the new build system. It’s likely that your bug will get dup’d to an existing bug tracking this work, and that will let you monitor the status of that bug.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"

hi, eskimo. thank you for your answer and advice.


the feature is import to me, and i have filed a bug report, the bug number is 44595796.


thanks again! and wish the bug can be fixed as soon as possible.