SchemeBuildError: Failed to build the scheme "YMS Inventory Tool"
closure containing a declaration cannot be used with result builder 'ViewBuilder'
Compile ContentView.swift (arm64):
/ContentView.swift:67:14: error: closure containing a declaration cannot be used with result builder 'ViewBuilder'
func addEntry() {
SwiftUI.ViewBuilder:2:30: note: struct 'ViewBuilder' declared here
@resultBuilder public struct ViewBuilder {
Topic:
Programming Languages
SubTopic:
Swift
Tags: