I figured it out. To be honest this ContentView was the original XCode generated view, but what I did not take into account that I created and added a new file with some model structs in it. And it the model there was pproperty which was named Image (I usually use app.quicktype.io to generate structs from JSON).
This Image struct was in conflict with the SwiftUI original Image struct. And XCode got just confused rather than warning me about the conflict.
Thank you for thinking about my problem!
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: