Flutter iOS app Will not Construct in VSCode, however will in Xcode

0
17
Flutter iOS app Will not Construct in VSCode, however will in Xcode


I’m engaged on a Flutter app and it doesn’t matter what I do, I can not construct or run the app on the iOS simulator from VSCode. It can work when run on Xcode, however all the time runs into the error beneath on VSCode. I’ve ensured that the right workforce is chosen and gone by way of tons of Stackoverflow and discussion board posts. It does not matter whether or not or not I am working a model new empty Flutter challenge or not, the identical factor occurs.

Uncategorized (Xcode): Command CodeSign failed with a nonzero exit code


Couldn't construct the applying for the simulator.
Error launching utility on iPhone 16 Professional.

I’ve confirmed that the right certificates is getting used, as I get a barely totally different error when working flutter construct –debug:

Error (Xcode): Goal debug_ios_bundle_flutter_assets failed: Exception: Did not codesign /path/right here with identification {right identification}.

Any assist could be appreciated!

Listed below are a number of the issues I’ve tried:

  • Clearing derived information
  • Modifying entry to the certificates within the keychain
  • Restarting my machine
  • Signing out/in of the account in Xcode to regenerate certs
  • Completely different groups (or no workforce) chosen in “Signing & Capabilities”
  • Manually regenerating certs
  • Eradicating all prolonged attributes on property
  • Uninstalling and reinstalling pods, cleansing the challenge, and so on.
  • Making certain there is no such thing as a “Useful resource” listing.
  • Reinstalling XCode
  • Making certain that my challenge listing shouldn’t be synced with iCloud
  • Switching simulator and iOS variations
  • Reinstalling and updating Ruby and cocoapods
  • Checking for quarentined information
  • Manually signing
  • Reinstalling Flutter
  • flutter config –clear-ios-signing-cert
  • flutter config –enable-ios
  • Reinstalling Xcode CLI
  • Making certain that the newest Xcode CLI is chosen in Xcode > Settings > Location

LEAVE A REPLY

Please enter your comment!
Please enter your name here