I have experimented a little more. I can reproduce this issue by:
create a new project in Xcode 16 beta 6 with default settings
Include any reference to NSDecimalRound()
Build an Archive build from Xcode
Launch the App.
Here is the code I am adding to trigger the crash:
public extension Decimal {
func rounded(_ roundingMode: Decimal.RoundingMode = .plain) -> Decimal {
var result = Decimal()
var number = self
NSDecimalRound(&result, &number, 0, roundingMode)
return result
}
}
This seems very bad so I have filed FB14900250 but this is a pretty big blocker for us to be able to ship anything right now.
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: