我的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)
}
}