Runner has conflicting provisioning settings.

I build the flutter app and trying to run the app in ios platform, I am not ale to build and run the app in iPhone Simulator

Futter Version

Flutter 3.3.8 • channel stable • https://github.com/flutter/flutter.git Framework • revision 52b3dc25f6 (4 days ago) • 2022-11-09 12:09:26 +0800 Engine • revision 857bd6b74c Tools • Dart 2.18.4 • DevTools 2.15.0

XCODE : 14.1

**Below is the error ** Automatically signing iOS for device deployment using specified development team in Xcode project: XP97B7SAQD Running Xcode build...                           Xcode build done.                      5.8s Failed to build iOS app Error output from Xcode build: ↳   ** BUILD FAILED **

Xcode's output: ↳   Writing result bundle at path:    /var/folders/lr/bk2nc6b109j36gj6hh2t5xlr0000gn/T/flutter_tools.RE1rUo/flutter_ios_build_temp_dirEzttKS/temporary_xcresult_bundle

  note: Building targets in dependency order   /Users/ash/Documents/demo-flutter/p2pmessaging/ios/Runner.xcodeproj: error: Runner has conflicting provisioning settings. Runner is   automatically signed, but code signing identity Apple Development: XXXXXXXX (RPC7ZJ362H) has been manually specified. Set the   code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities   editor. (in target 'Runner' from project 'Runner')   warning: Run script build phase 'Thin Binary' will be run during every build because it does not specify any outputs. To address this warning,   either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the   script phase. (in target 'Runner' from project 'Runner')

  Result bundle written to path:    /var/folders/lr/bk2nc6b109j36gj6hh2t5xlr0000gn/T/flutter_tools.RE1rUo/flutter_ios_build_temp_dirEzttKS/temporary_xcresult_bundle

Error (Xcode): Runner has conflicting provisioning settings. Runner is automatically signed, but code signing identity Apple Development: xxxxxxx (RPC7ZJ362H) has been manually specified. Set the code signing identity value to "Apple Development" in the build settings editor, or switch to manual signing in the Signing & Capabilities editor. /Users/ash/Documents/demo-flutter/p2pmessaging/ios/Runner.xcodeproj

Runner has conflicting provisioning settings.
 
 
Q