Cannot launch iOS simulator anymore in Local Run

Project Settings

Hello,

Since yesterday I cannot launch my project in IOS simulator in the Local Run.

I have an error in Logs

Launching lib/main.dart on iPhone 15 Pro in debug mode...
Upgrading contents.xcworkspacedata
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Upgrading Info.plist
Removing script build phase dependency analysis.
Adding input path to Thin Binary build phase.
Running pod install... 2 995ms

Running Xcode build...
Xcode build done. 24,6s
Failed to build iOS app
Error output from Xcode build:

--- xcodebuild: WARNING: Using the first of multiple matching destinations:
{ platform:iOS Simulator, id:73319C25-8EA7-4640-84B7-09F2D03D3287, OS:17.5, name:iPhone 15 Pro }
{ platform:iOS Simulator, id:73319C25-8EA7-4640-84B7-09F2D03D3287, OS:17.5, name:iPhone 15 Pro }

BUILD FAILED

Writing result bundle at path:

/var/folders/7h/fcxgt1w16h75c02r7v73xcnw0000gn/T/flutter_tools.9KVI7X/flutter_ios_build_temp_diroIUZyb/temporary_xcresult_bundle

/Users/Tim/.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 {}

^

UIKit.UIApplication:24:15: note: candidate has non-matching type '(URL, [UIApplication.OpenExternalURLOptionsKey : Any], (@MainActor @Sendable (Bool) -> Void)?) -> Void'

open func open(_ url: URL, options: [UIApplication.OpenExternalURLOptionsKey : Any] = [:], completionHandler completion: (@MainActor @Sendable (Bool) -> Void)? = nil)

^

/Users/Tim/.pub-cache/hosted/pub.dev/url_launcher_ios-6.2.5/ios/Classes/Launcher.swift:22:1: note: add stubs for conformance

extension UIApplication: Launcher {}

^

note: Run script build phase 'Run Script' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')

note: Run script build phase 'Thin Binary' will be run during every build because the option to run the script phase "Based on dependency analysis" is unchecked. (in target 'Runner' from project 'Runner')

Could not build the application for the simulator.
Error launching application on iPhone 15 Pro.

What have you tried so far?

I installed iOS18 because FF ask me to do so.
But even if I try the iPhone 16 it doesnt work.

I had to reinstall the Flutter SDK from the Local Run Window.

Did you check FlutterFlow's Documentation for this topic?
Yes
5
3 replies