Home > Blockchain >  Flutter app - Unable to test on real device! Something wrong with the X-Code version
Flutter app - Unable to test on real device! Something wrong with the X-Code version

Time:06-06

When I try to run the app on my device from Android Studio, it ends up with the following error: (Please note development team IS SET in my profile)

> Could not build the precompiled application for the device.
> ════════════════════════════════════════════════════════════════════════════════
> Building a deployable iOS app requires a selected Development Team
> with a  Provisioning Profile. Please ensure that a Development Team is
> selected by:   1- Open the Flutter project's Xcode target with
>        open ios/Runner.xcworkspace   2- Select the 'Runner' project in the navigator then the 'Runner' target
>      in the project settings   3- Make sure a 'Development Team' is selected under Signing & Capabilities > Team. 
>      You may need to:
>          - Log in with your Apple ID in Xcode first
>          - Ensure you have a valid unique Bundle ID
>          - Register your device with your Apple Developer Account
>          - Let Xcode automatically provision a profile for your app   4- Build or run your project again
> 
> For more information, please visit:  
> https://flutter.dev/docs/get-started/install/macos#deploy-to-ios-devices
> 
> Or run on an iOS simulator without code signing
> ════════════════════════════════════════════════════════════════════════════════
> 
> Error launching application on DMan.

I then open my iOS workspace, and check my 'Signing & Capabilities'. I have the following all set there:

enter image description here

I then tried with running the app on my phone via workspace itself, by pressing the play button on top -left. and I get the following error:

enter image description here

Then I restarted my computer as advised but the problem is still there.

I am using: Android Studio: Chipmunk 2021.2.1 Patch 1 X-Code: 13.2.1 iOS version: 15.5

CodePudding user response:

Xcode 13.2.1 will not support iOS version above 15.2 that's the reason for this issue update the Xcode to latest version to use iOS 15.5

CodePudding user response:

Register your device on Device management

Trust “YOUR DEVELOPER NAME”.

  • Related