No internetconnection deploying Flutter App (release) on IOS(14+) device - ios

I'm trying to deploy my Flutter app on a iPhone IOS 14.4. IOS 14 don't support debug mode, so I run "flutter run --release". But when I open the application on my iPhone, it won't connect to the internet and my database. It works well on my Xcode IOS simulator in debug mode. I think it has something to do with release instead of debug.

Related

Flutter iOS App not launching after removing USB

So i'm testing a flutter app that builds and installs successfully on an iOS simulator as well as a physical devices. However, when building and installing the app with xcode via the USB, it successfully installs and launches but when the USB is disconnected from my mac and i try to run the already installed device on the iPhone, it shows only the launch / splash screen and fades and closes.
Is there something i'm doing wrong that causes this to happen? As the app works fine when connected with the USB and it's being run.
If the build is in debug mode - it won't open.
if you want to open application after disconnecting, try profile / release mode
flutter run --profile
or
flutter run --release
In iOS, debug build doesn't work without USB. To use the app without USB trying making a release build using flutter run --release

How do I get a Flutter release iOS app onto my iPhone?

I want to test a release build of my Flutter 1.9 iOS app on my iPhone without going through the App Store. The development build from IntelliJ runs just fine on my iPhone, but I want to see the real performance characteristics.
The Flutter documentation describes how to build a release version of the app. This creates build/ios/iphoneos/Runner.app in my project. But how can I get Runner.app from my Mac onto my iPhone?
With flutter run --release -d [device name], you can run the Flutter app in release mode either in a simulator or on a real device. Thank you, Chenna Reddy!

How to connect to iPhoneSimulator with VS2017 in MAC

I am trying to debug my iOS application with iPhone simulator, unfortunately I can't connect to it. It's showing me "Building", but without any success to launch it on simulator.

iOS app crash when running from Xcode and enabling AirPlane mode

When running my app on iPhone 6 iOS 9.3.2 from Xcode 7.3.5 and 8.0 (on debug mode), then entering AirPlane mode on the app itself, it crashes with the error:
Restore the connection to device and run “APP_NAME” again, or if “APP_NAME” is still running, you can attach to it by selecting Debug > Attach to Process > APP_NAME.
Does anyone have an idea?

How to start Meteor app on specific iOS simulator

After my Xcode upgraded to version 7.3 I'm not able to start my Meteor apps on simulators other then iPhone-6s-Plus. When I enter command
meteor run ios
having no any simulator running it automatically starts iPhone-6s-Plus. But if I start some other simulator using Xcode then that's what I get trying to run app (using --verbose)
No target specified for emulator. Deploying to iPhone-6s-Plus, 9.3
simulator
** RUN SUCCEEDED **
An error was encountered processing the command
(domain=com.apple.CoreSimulator.SimError, code=159): Invalid device
state
How I can run my apps on any other simulator then iPhone-6s-Plus?
OK, seems it is normal behaviour with Meteor v1.3 described in documentation: http://guide.meteor.com/mobile.html#running-your-app
Currently, this will always run your app on a simulated iPhone 6s
Plus. Use ios-device to open Xcode and select another simulator
instead.
So command
meteor run ios-device
will open generated iOS project in Xcode where you will be able to select any other simulator or connected device.

Resources