Preview Crash when I create CityCard

I am working through Chris fundamentals class , and I am working on Lesson 4 the guidebook. I have followed every step of the lesson, and everything works until I get a message that say “Preview Crashed” I have search the posts on this group but the answers are not related to my problem. Also have search in Google and some of the answers are of old versions of Xcode or unrelated errors. The only error message I see is


which I don’t know what it means. What is strange is that I can see the “Detail View” but when I created the City Card I get the message

Does anyone have the same problem?

Thanks
Ed

It’s most likely due to missing data in your Preview where you pass in an instance of city.

Chris
Well I deleted the CityCard view and entered everything again, and it worked fine.

Thanks

Ed