Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flutter cannot install app on iPhone after upgrade to iOS 13.1 and Xcode 11

Today I had this great idea to update my iPhone to iOS 13 and Xcode to version 11... (why not go for a cup f tea instead?!?)

So now I am not anymore able to install my app developed in flutter in my iPhone. Here is the log

2019-09-27 14:10:46.945 ios-deploy[8xxx2:9xxx95] [ !! ] Error 0xe800007f: Device doesn't support wireless sync. AMDeviceStartService(device, CFSTR("com.apple.debugserver"), &gdbfd, NULL)
Could not install build/ios/iphoneos/Runner.app on f7xxx37xxxxb5299ef.
Try launching Xcode and selecting "Product > Run" to fix the problem:
  open ios/Runner.xcworkspace

Error launching application on xxx's iPhone.

If I run the app using Xcode it works fine but flutter does not work

I have seen this page where I think they are talking about the same problem but I am unsure of what I need to do to resolve...

Is there any expert who can suggest what to do ?? Thanks

like image 313
M4trix Dev Avatar asked Sep 27 '19 13:09

M4trix Dev


People also ask

How do I install the Flutter app on my iphone?

You need to go to your Settings > General > Device Management. Inside Device Management, select the developer name and tap Trust “YOUR DEVELOPER NAME”. You should now be able to run your Flutter app on your local device.

How do I add flutters to XCode?

Open the default Xcode workspace in your project by running open ios/Runner.xcworkspace in a terminal window from your Flutter project directory. Select the device you intend to deploy to in the device drop-down menu next to the run button. Select the Runner project in the left navigation panel.

Does XCode 13 build iOS 16?

If you want to deploy the app to a physical device running iOS 16, you don't need to use Xcode 14. Xcode 13 or older can do this if you add device support files and turn developer mode ON, this is an extra step on iOS 16.


2 Answers

Update The fix has now hit stable release. To update:

flutter channel stable
flutter upgrade

Reference: https://github.com/flutter/flutter/issues/37699#issuecomment-537117087

like image 120
Ryan R Avatar answered Nov 15 '22 09:11

Ryan R


Use a Non-Personal Team provisioning profile Instead of Personal Team.

Then run on a real iOS device running 13.3 or lower.

Reference: https://github.com/flutter/flutter/issues/48035

like image 44
Nazrul Islam Avatar answered Nov 15 '22 08:11

Nazrul Islam