Issue with Path shape

Hey y'all, I've been facing an incredibly bothersome error and wanted to see if you had any comments/fixes for whats going on.

I'm attempting to create a custom shape using the Path { path in } initalizer, but am receiving the following error

Referencing initializer 'init(codingKey:)' on 'RawRepresentable' requires that 'Path' conform to 'CodingKeyRepresentable'

I ended up copying the code here, but am still receiving the same errors.

I'm running xCode 14.3

I ended up copying the code here

So there’s a lot of code in that tutorial. Can you isolate this down for us? Ideally I’d like to see a small snippet of code with a copy of the exact error.

ps If you post a snippet, use a code block. See tip 5 in Quinn’s Top Ten DevForums Tips.

Share and Enjoy

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

Issue with Path shape
 
 
Q