Description:
Hello FlutterFlow team,
I am encountering issues while trying to build my iOS app in FlutterFlow. The main problem seems to be related to the url_launcher_ios plugin and some CocoaPods configurations. Below is a summary of the errors:
CocoaPods Configuration Warnings: I am seeing warnings about the
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIESbuild setting being overridden in thePods-Runnerconfiguration. The warnings suggest using the$(inherited)flag or removing the overridden settings in the target configurations forDebug,Release, andProfilemodes.Error with
url_launcher_ios: The build fails with the following error:bashCopy code
/Users/Altovisual/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.5/ios/Classes/Launcher.swift:22:1: error: type 'UIApplication' does not conform to protocol 'Launcher' extension UIApplication: Launcher {}It seems that the
url_launcher_iosplugin is causing issues in terms of type conformity withUIApplication.Deprecated Methods: I am also seeing warnings about deprecated methods, particularly related to
keyWindowbeing deprecated in iOS 13 andsetJavaScriptEnabledin iOS 14.Steps Taken:
I have tried downgrading the
url_launcher_iosversion inpubspec.yamlto resolve the issue, but the errors persist.I have also run
flutter clean,pod deintegrate, and reinstalled the pods, but it did not solve the issue.
Could you please advise on how to proceed with this issue?
Thanks in advance for your assistance!
Best regards,
Hugo