Annoying problem here for my Flutter app: iOS13.3, Xcode11.3 on a physical iPhoneX. The iOS-Simulators all work. The problem is only happening on a physical device. The Flutter App freezes at startup (i.e. at Installing and Launching... step) ! Any ideas ??
My flutter doctor -v does not bring any problems. Also tried flutter clean and flutter upgrade. But nothing seems to fix the problem...
If I run the App from Xcode (Runner.xcworkspace) then everything works as well. Only from VSCode and Flutter, I can no longer launch my physical iPhoneX.
Also, when uploaded to TestFlight, the App freezes at App Start ! (grey screen freeze). Therefore Apple App Store rejects all Flutter Apps for now ! Very annoying.
I am not sure if the Installing and Launching... freeze is related to the TestFlight and App Store Problem !! Might as well be...
This fixed the issue for me:
Run the app from Xcode.
Disable WiFi on iPhone.
Run from Android Studio.
Turn on WiFi on iPhone once the launch process has completed.
This is a workaround solution
I was having this issue. I uninstalled the app from my device, opened the project in xcode, ran some build cleaning thing that appeared in the yellow triangle warning area, then built the app via xcode. Then uninstalled the app from device again. Then ran via android studio and it worked.
Basically, it is because of might some files
For me, this worked
Follows these steps: Go to Flutter > bin > cache
and delete the Artifact folder
Try executing the command: killall -9 dart and retry.
As in my case, I use one of following solutions to fix the issue:
#1. close WiFi on mac, then run from Android Studio; OR
#2. close WiFi on both mac and iphone, then run from Android Studio; OR
#3. enable hotspot on iphone and connect it from mac, then run from Android Studio;
I am trying to run my app in simulator it start deploying in visual studio but not launching on simulator.
even if I manually open that simulator app doesn't runs over there.while is shows running in vs
please help if anyone have idea whats going wrong here
Make sure you have Xcode installed in your mac. Make sure Xcode is running in your mac. If you are using vs from windows make sure you are on the same network with the mac, and you are connected to it. You can always try to change the simulator in which you deploy it. Also check the simulator if the app you want to run is installing in the simulator. You should wait until it's installed to run your app. I hope it helps this time. :)
it was due to memory issue of mac.
mac memory was full so it was unable to launch simulator.as i have cleared memory and make more free space it start ruining now.
thank you everyone.
I'm facing a problem with Time Profile and trying to fix this all day but no luck. Hope anyone in there have faced this before and help me resolved this.
I'm developing an iPAd app it communicates with server using socket connection. I debug it successfully by Run button on Xcode but when instrument by Time Profile tool it cannot get the response from the server even have connected with server. I think its strange because my other apps using that tool without any problem.
My environment: Xcode 6.1, Mac OS Yosemite (10.10).
Thanks.
I just updated my App on iOS 7 and when I deployed it on device then it did not connect after the very first installation. I killed the App and re-started it again then it connected.
Same way, on iOS simulator if i first run App then it do not connect but if I re-run it again then it connects. I have tried many times on simulator but same behavior. I even reset the simulator but same behavior.
Is this known issue? Please guide
I re-generated a fresh code on another Mac machine where only Xcode 5 was installed, and it worked fine. Previously on my Mac machine i had XCode 4.5 & XCode 5 separately, so i assume during generation something could have happened.
On installing an application on a BlackBerry, the phone has to be rebooted to complete installation. Can this be avoided?
You can check "What Is - The reason a reset is required when upgrading an application".
One important thing is to completely exit the app before upgrading.