我的SwiftUI
项目将不再构建。它告诉我Failed to build active scheme
没有更多信息。
这是完整的存储库: https ://github.com/nathfreder/HackerNews/tree/master/HackerNews
改了之后才发现这个问题
ForEach(0..<10) { _ in
NavigationButton(destination: Text("")) {
StoryRow()
}
}
至
ForEach(store.stories) { story in
NavigationButton(destination: Text("")) {
StoryRow(story: story)
}
}