I figured it out. I added Codable to the enum and cleaned the build folder and the error went away.
Topic:
Programming Languages
SubTopic:
Swift
Tags: