Error

Error output from Xcode build: 2022-07-28 14:54:08.159 xcodebuild[16789:170945] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionSentinelHostApplications for extension Xcode.DebuggerFoundation.AppExtensionHosts.watchOS of plug-in com.apple.dt.IDEWatchSupportCore 2022-07-28 14:54:08.159 xcodebuild[16789:170945] Requested but did not find extension point with identifier Xcode.IDEKit.ExtensionPointIdentifierToBundleIdentifier for extension Xcode. DebuggerFoundation.AppExtensionToBundleIdentifierMap.watchOS of plug-in com.apple.dt.IDEWatchSupportCore ** BUILD FAILED ** Xcode's output: Writing result bundle at path: /var/folders/6s/7sk206y51kzdp8j2x8n9m2j00000gn/T/flutter_tools.OUl6EC/flutt er_ios_build_temp_dirEu9vYl/temporary_xcresult_bundle In file included from /Users/YourUserName/flutter_projects/AppName/ios/Runner/GeneratedPluginRegistran t.m:7: /Users/YourUserName/flutter_projects/AppName/ios/Runner/GeneratedPluginRegistran t.h:10:9: fatal error: 'Flutter/Flutter.h' file not found #import ^~~~~~~~~~~~~~~~~~~ 1 error generated. note: Using new build system note: Planning note: Build preparation complete note: Building targets in dependency order Result bundle written to path: /var/folders/6s/7sk206y51kzdp8j2x8n9m2j00000gn/T/flutter_tools.OUl6EC/flutt er_ios_build_temp_dirEu9vYl/temporary_xcresult_bundle Lexical or Preprocessor Issue (Xcode): 'Flutter/Flutter.h' file not found /Users/YourUserName/flutter_projects/AppName/ios/Runner/GeneratedPluginRegistrant.h: 9:8 Could not build the application for the simulator. Error launching application on iPhone 11.

Solution

Change the parameters in your podfile under ios folder.
platform :ios, '15’.5 ENV['COCOAPODS_DISABLE_STATS'] = 'true' project 'Runner', { 'Debug' => :debug, 'Profile' => :release, 'Release' => :release, }