Same issue and I'm not able to fix this yet. Only clue I get is a logging message from com.apple.storekit: "Subscription store should include at least one auto-renewable subscription.".
I tried both of a synced configuration file and a local configuration file, but they don't work.
Post
Replies
Boosts
Views
Activity
Minmal reproducible example:
import SwiftUI
struct ContentView: View {
@State private var text: String = ""
@FocusState private var focused: Bool
var body: some View {
List {
TextField("key", text: $text)
.focused($focused)
if (!focused) {
Section {
Button("click") {
print("click")
}
}
}
}
}
}
For some reason, if I remove one of .focused($focused), if (!focused) { or Section, the error doesn't occur.