I got an error when I clicked the 'shared' button (UIAlertAction). Here's what the error look like :
let action = UIAlertAction(title: "Share", style: .default, handler: { (action) in
//Set the default sharing message.
let message = """
Let's join to our Famealy group:
\(self.family_id ?? "")