Hi everyone, I think this is a simple issue. I got the following error message"
"PreviewDevice is ignored in a #Preview macro. Use the device picker at the bottom of the Canvas to change which device type is used for the preview. (from macro 'Preview')"
after this line:
".previewDevice(PreviewDevice(rawValue: "iPhone 17 Pro"))"
But in my Canvas I do not see the device picker.
Thank you.
When you say you needed to "download iOS 26.1" do you mean via the "Add Platforms..." button?
Just want to be clear so that anyone else who happens upon this thread knows what the actual solution is.
Remember to mark an answer as correct so everyone knows there's a solution to the problem. Thanks!