This could be due to many reasons. First thing you can try is upadating url_launcher
if it’s not the latest versin.
If updating url_launcher doesn’t solve your issue, then you can try updating Flutter and Xcode to the latest version.
After upgrading flutter version, run command flutter pub upgrade