Fatal Error: No ObservableObject found. (SwiftUI, Xcode)

前端 未结 0 1780
遥遥无期
遥遥无期 2021-02-08 04:23

I am able to use my program through the Live Preview, but when I run it in a simulator it crashes and I get the following error;

Fatal error: No ObservableObject of type

相关标签:
回答
  • 消灭零回复
提交回复
热议问题