Does someone knows how to fix this issues?
Fix This Issues
One of the issues is caused by the friendManager parameter being private
@StateObject var friendManager: FriendManager
And for the other, maybe you have forgotten to import MapKit?
import MapKit
Could you show how you defined ChatView struct ?
Here is my whole code:
See answer in other thread. And don't forget to close this thread.