Cannot Rename file in iOS Xcode Playground

Hello,

I am currently editing an iOS app playground in Xcode 16.0 on macOS 15.1 beta 3. When I create a new file using the SwiftUI View template, I am not prompted to name the file and it just uses the default file name. Afterwards, I am not able to rename the file to a name that suits my project. Is there a workaround for this?

Thanks!

Answered by DTS Engineer in 805097022

Oh, yeah, would you look at that!?!

I suspect that this is Working as Designed™, but that doesn’t stop you from filing a bug against the design, and I encourage you to do just that.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Edit: Although I am able to Refactor -> Rename the class name and file name later, I am not able to do this when I create the file which is frustrating. Is there a reason for this issue?

Accepted Answer

Oh, yeah, would you look at that!?!

I suspect that this is Working as Designed™, but that doesn’t stop you from filing a bug against the design, and I encourage you to do just that.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I have submitted a bug report in the Feedback Assistant app. Its report number is FB15235341.

Cannot Rename file in iOS Xcode Playground
 
 
Q