You have to click on the app name on the left pane (My App) and under capabilities add Network Connection (incoming, at least for now) I just had this issue recently and that solved it
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: