Found a simple workaround with SwiftUI:
Applying a clipShape appears to bring the layer under control.
You'll also need to set the width as after applying the clipShape, it will still fill the width.
SignInWithAppleButton(
.continue,
onRequest: { request in
request.requestedScopes = [.email]
},
onCompletion: { result in
// Whatever...
}
)
.clipShape(RoundedRectangle(cornerRadius: 4, style: .continuous)) // Workaround here...
.frame(width: 300) // ...and here
Sadly it's not just Xcode 26 beta 4.
I think the issue is more with Tahoe Beta 4 than with Xcode?
I have the same issue with beta 3 and Xcode 16.4.
A workaround so far appears to be to use previews on device.
Found a simple workaround with SwiftUI:
Applying a clipShape appears to bring the layer under control.
You'll also need to set the width as after applying the clipShape, it will still fill the width.
SignInWithAppleButton(
.continue,
onRequest: { request in
request.requestedScopes = [.email]
},
onCompletion: { result in
// Whatever...
}
)
.clipShape(RoundedRectangle(cornerRadius: 4, style: .continuous)) // Workaround here...
.frame(width: 300) // ...and here
Sadly it's not just Xcode 26 beta 4.
I think the issue is more with Tahoe Beta 4 than with Xcode?
I have the same issue with beta 3 and Xcode 16.4.
A workaround so far appears to be to use previews on device.