Questions tagged [flutter-ios]

356 questions
3
votes
1 answer

Flutter app "documents and data" disk usage is too high on iOS

I have written a very simple app in Flutter, for both iOS, Android and the web. Lately, I realized that if I browse the "storage" settings page on my iPhone, my prod app, as it is distributed on the App Store, weighs about 500 MB. Most of it comes…
Mathieu
  • 91
  • 9
3
votes
1 answer

failed to run the app from iOS simulator from Android Studio after upgrade to Flutter to 2.5.0

I can't run my app on iOS simulator. I have this error after upgrading to Flutter 2.5.0 from Flutter 2.2.3 I can't run the Flutter app from Android Studio. but If open the project from the Xcode then the app will run without issue in iOS…
Alexa289
  • 8,089
  • 10
  • 74
  • 178
3
votes
2 answers

flutter app is not running by flutter build ios but runs by xcode

I wrote flutter application, I opened ios section by xcode and the application is running , but when I run application by vscode by flutter build ios I got this error: Automatically signing iOS for device deployment using specified development team…
Cyrus the Great
  • 5,145
  • 5
  • 68
  • 149
3
votes
3 answers

Unable to build flutter app with firebase auth in Xcode

I'm building a flutter mobile application with firebase_auth to authenticate. It's run well on android. But when i'm try to build it on ios using xcode it gives me series of erros. I have added the GoogleService-info.plist file inside Runner folder…
dilusha_dasanayaka
  • 1,401
  • 2
  • 17
  • 30
3
votes
1 answer

FLUTTER - Default flutter icon at Recent app in iOS

While I open the recent apps tab/screen on iOS I see the default flutter Icon at the top. However I have uploaded all the file sizes for both Android and iOS. Other than the recent app screen all the place is covered by my own AppIcon. How do I…
Kishan Dhankecha
  • 957
  • 7
  • 25
3
votes
0 answers

Why do I keep getting rsync error: "Command PhaseScriptExecution failed with nonzero exit code"

I'm new to iOS/Flutter dev. The android portion of my project works fine but I keep getting this exit code error trying to generate an archive file for iOS distribution. I have attached a snapshot of what seems to be the issues but not sure how to…
Azubike
  • 95
  • 2
3
votes
1 answer

Why file not found when I invoke runWithEntrypoint:libraryURI: on a FlutterEngine?

I try to specify an entrypoint function in a specific file to launch a Flutter screen from my iOS APP, I follow the doc but get an error: Dart Error: Dart_LookupLibrary: library 'hh.dart' not found. This is my code in…
3
votes
2 answers

Flutter in app purchase, productDetails is empty...any idea why?

So, I've developed an app with Flutter in-app-purchase. I've configured everything on App Store Connect, created a sandbox user, etc... However, when I run the app, but productDetails is empty...I'm testing in Testflight. Is that the issue? Should I…
3
votes
2 answers

Flutter-iOS when apps update / recompile stored image is missing

Hi forgive my English and also a newbie on flutter iOS, I have an app on flutter on iOS that users can take pictures and videos from their camera and gallery I'm using the image_picker package this has no problem, then I save it on the on its…
3
votes
4 answers

Flutter image picker not working in ios 14 with Mac M1 chip simulator

Image picker appears with list of images , but cannot pick an image from list. I have already added camera permission to plist file. It working in real device with ios 12.6. I am using ios 14 simulator in Mac M1 machine.
Graycodder
  • 447
  • 5
  • 15
3
votes
2 answers

Flutter Xcode Build Failed - 'TARGET_OS_WATCHOS' is not defined, evaluates to 0

I have created Flutter Project. It's working on Windows OS for Android Successfully. I have tried for the first time to run it in XCode (Mac OS) but getting some error as follows. Running Xcode build... Xcode build done. …
Pratik Butani
  • 60,504
  • 58
  • 273
  • 437
3
votes
0 answers

Flutter ios error: ios/Runner/GeneratedPluginRegistrant: Use of undeclared identifier 'Sounds'

I have a Flutter app that users the sounds package. My app was working pretty well in both iOS and Android, but there were some errors due to the interaction between the sounds package audio_service package on Android (before I had tested iOS), so I…
Kyle B.
  • 389
  • 1
  • 6
  • 22
3
votes
1 answer

Sign out of Google sign in on iOS not working in Flutter Firebase flutter fire

In my Flutter iOS app, the Firebase sign out of Google is failing. I use these lines to sign out of Google: await GoogleSignIn().signOut(); await FirebaseAuth.instance.signOut(); Then I sign in with Apple. However, when I check the…
jon
  • 3,202
  • 3
  • 23
  • 35
3
votes
0 answers

New initial route every time when Flutter controller is initialized with pre-warmed flutter engine

We are building native ios applications that has embedded Flutter screens in it. So far, we have been initializing Flutter controller every time with new engine, because we need to set different route whenever new Flutter controller is…
3
votes
0 answers

How to get logs in an ios flutter app running on a physical device?

I use logger to output information on the comand line. To access the logs remotely I use AppSpector. This works fine while my iPhone is connected to my mac. In this case I can see the log message on the terminal anyways. When sharing the app via…
MarcS82
  • 2,065
  • 7
  • 29
  • 46