I have just begun using MessageKit and have updated my code to 4.2 in swift and have been solving the problems. Yet, I am using the Firebase chat tutorial and have come across problems in the sample code that are throwing errors that aren't visible in the sample project.
Cannot convert value of type '_?' to expected argument type 'URL?'
completion(meta?.downloadURL())
Assuming that your problem is probably the following
Answer, swift 4
Be sure that you have enabled Storage in Firebase and check console errors if fails