Flutter iOS app size increase without changes asset/lbrary - ios

I have my own game in Flutter. I am wondering after seeing size of my current iOS app. I didn't change anything not even asset/library etc. I just want to upload new version of app after just change few lines of code.
Current version of iOS app on App Store. (https://apps.apple.com/us/app/morude-frrr-fly-or-not/id1482474790)
Size : 79.7 MB
Updated version of APP
Size : 180. MB +
I checked by different Apps. same issue occur, size of iOS app found more than 180 MB. What happened I don't know. Need to change any settings at my end? let me know if any info. require at my end.
Result of flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.12.13+hotfix.6, on Mac OS X 10.14.3 18D109, locale
en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.1)
[✓] Connected device (4 available)
• No issues found!

Hope this helps with your question:
https://github.com/flutter/flutter/issues/47101#issuecomment-567522077

Related

Flutter crashes on launch of app after build. iOS only

When I try to launch the ioS emulator, it goes through the process and the icon appears on the screen, the splash screen loads and then crashes.
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.5.1 21G83 darwin-x64, locale en-IE)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.6)
[✓] IntelliJ IDEA Community Edition (version 2021.2.2)
[✓] VS Code (version 1.73.1)
[✓] Connected device (4 available)
[✓] HTTP Host Availability
• No issues found!
Flutter doctor comes back fine and I can run the Android emulator.
After hours of trouble shooting I can only think that there is some issue with my iOS folder.
I can go through the whole build process and then then app crashes on launch.
There is no error appearing in the terminal but I'm guessing there is a conflict somewhere.
Could it be the info.plist?
Has anyone got any ideas how I can troubleshot it.
Is there any where I can see a log file or an error?
I have tried emulator and physical device it won't launch past the splash on both
Thanks for any help
Flutter app doesn't show error logs when the app gets crashed in iPhones, it's common and irritating.
To solve it, by my experience, the protip is:
Open its ios folder in Xcode.
Select the device in which you want to run it.
Run it through Xcode, it will show the errors in Xcode's log panel which you can fix easily then.

Flutter deployment error when testing on physical device: : errSecInternalComponent

I am trying to test my flutter application on my iPad, and iPhone, and I have tried everything that I've read from forums.
It will run on an emulator, but not a physical device.
I have tried:
Cleaning and rebuilding.
Restarting my computer.
Updating all of the software on both my computer and the devices.
Creating a unique bundle id.
Choosing different teams for signing.
Changing iOS development target.
Changing the bundle id to my email.
I'm just not sure what to fix at this point.
this is the output of flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 1.19.0-4.0.pre.108, on Mac OS X 10.15.5 19F101, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.45.1)
[✓] Connected device (1 available)
• No issues found!
There is something up with Xcode and my computer, because I downgraded to Xcode 11.3 and it worked.

Flutter installed but failed to start-up on real IOS device

Flutter failed to start-up on real IOS device (not emulator), its working fine on the IOS emulator but when I connect my device its installed but fails to launch without printing any message on flutter application log.
Launching lib/main.dart on XXXX in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: XXXXX
Running Xcode build...
└─Compiling, linking and signing... 10.7s
Xcode build done. 20.1s
Installing and launching...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.15.4-pre.262, on Mac OS X 10.14.6 18G3020, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
[✓] Android Studio (version 3.5)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.1)
[✓] Connected device (1 available)
• No issues found!
could you please help!
There was an issue on Flutter repository as mentioned by #amer rawashdeh.
iOS 13.4 is now available, please update your iOS device and Xcode to v11.4 to keep your project newly working.
If you are on Flutter stable channel you need also to apply this guide to keep you project working with v11.4 Xcode
It seems the problem with ISO version 13.3.1 only
check it out:
https://github.com/flutter/flutter/issues/49504#issuecomment-581554697
The application was working on IOS emulator version 13.3

How to fix installation of flutter application in iOS devices?

I'm new in flutter and iOS also, I was developing my first project in flutter using Windows then done but now I want to develop an iOS app. So, I copied my project from Windows and paste into Mac. I installed all thing which is related to flutter. Now, When i am trying to install an app on simulator then
Xcode showing error :
The request was denied by service delegate (SBMainWorkspace) for reason: Unspecified.
I searched a lot on same error but i did not find the solution of this.I searched on github and stackoverflow also but their answer did not work.
Flutter doctor :
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.7.8+hotfix.2, on Mac OS X 10.14.5 18F132, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
[✓] iOS tools - develop for iOS devices
[✓] Android Studio (version 3.1)
[✓] Connected device (2 available)
• No issues found!
My App is installing but when it appears then suddenly crash and xcode showing error message box.How to fix it ?
If someone has query or any question then ask me please.Thank you.
Try this :
You may want to check your scheme. The executable should be asked on launch.
Edit Scheme -> Info -> Executable -> Ask on launch
reference apple forum answer: https://forums.developer.apple.com/message/258839

Flutter app is not running on real iOS device

I have a mobile app in Flutter, it works fine on Android and iOS simulators as well as real devices (except only real iPads with iOS 12.0 and above)
The problem is with running the app in iPad - after the launch I see a white screen for 5 seconds, than a black screen for 3 seconds and that's the finish. The app is not running further.
It even does not show a launching screen.
I am testing in Firebase Test Lab and I have done flutter upgrade before every build of product.
And this is my flutter doctor:
flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v1.0.0, on Mac OS X 10.13.6 17G65, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[!] Android Studio (not installed)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
Do you have any ideas what could it be?
Currently, there is an open bug about crashes that occurs on iPhones with the memory of 1GB or lower on most iOS 12. I suggest to upgrade your Flutter version to the latest. As of this writing, the latest version is 2.10.3 in stable channel.

Resources