Questions tagged [flutter-ios]

356 questions
9
votes
2 answers

Flutter: Undefined symbols for architecture arm64

After migrating to null-safety and flutter 2 I get problem with ios build: I run flutter clean; rm ios/Podfile.lock pubspec.lock; rm -rf ios/Pods ios/Runner.xcworkspace; flutter run --flavor dev -t lib/main_dev.dart and got this logcat: …
andreich
  • 1,120
  • 1
  • 11
  • 28
9
votes
1 answer

Issue with iOS Build in Flutter Project .../Flutter/Debug.xcconfig: unable to open file (in target "Runner" in project "Runner")

I am working on a Flutter project. Declared few dependencies in the pubspec.yaml file. Project is building fine on Android, but when I try to run on iOS. I am getting the below error. Searched multiple issues, couldn't figure out the exact…
Sasank Sunkavalli
  • 3,864
  • 5
  • 31
  • 55
8
votes
5 answers

Flutter - Error (Xcode): Signing for "DKImagePickerController-DKImagePickerController" requires a development team - select a development team

Updated my xcode to 14.0. After upgrading the xcode, My Flutter project throwing the below error. select a development team in the Signing & Capabilities editor Target > Signing & Capabilities > Team also already selected Could not build the…
Anand
  • 4,355
  • 2
  • 35
  • 45
8
votes
2 answers

How can solve this problem? Error: To set up CocoaPods for ARM macOS, run: arch -x86_64 sudo gem install ffi

Updated context: When I tried to run flutter project, but I got the this error Error: To set up CocoaPods for ARM macOS, run: arch -x86_64 sudo gem install ffi I'd run arch -x86_64 sudo gem install ffi, but still had same issues. this is…
Stanley
  • 311
  • 5
  • 15
8
votes
3 answers

TextField hides behind Keyboard in Flutter 3.0.0

I cannot get CustomScrollView to work properly. Before flutter 2.13.0-0.2.pre, tapping on a TextFields inside a CustomScrollView automatically adjusts the TextField above the keyboard as it opens. On downgrading my flutter version to 2.11.0-0.1.pre…
8
votes
7 answers

Video not play in Flutter iOS getting error

Video not play in Flutter iOS getting error Unhandled Exception: PlatformException(VideoError, Failed to load video: Operation Stopped, null, null). Working well in android. Please let me know if you have idea of this. =>Using video_player…
Jasmin Sojitra
  • 1,090
  • 10
  • 24
8
votes
7 answers

firebase_messaging/unknown: An unknown error has occured on Flutter IOS

Everything was working fine before but now firebase can't seem to create a new token. I'm trying to call await FirebaseMessaging.instance.getToken(); but getting this error FLTFirebaseMessaging: An error occurred while calling method…
7
votes
0 answers

Flutter Video player not playing in ios

I am using video_player package to play videos from network in flutter. It works fine in android, but fails to load in ios. Flutter 3.3.3 video_player: ^2.4.7 PS: Server call is https, Issue is happening in real device and Response header has…
Jerry
  • 987
  • 4
  • 16
  • 46
7
votes
4 answers

FirebaseMessaging.onBackgroundMessage is not invoked when my app is on background in flutter , its happening only in Ios devices

I Am making an app which has push notification Property app is working when we hit notification on the foreground , but when app is on background my _backgroundHandler() method is not invoking, its happening only In IOS App Only
7
votes
1 answer

Use a function declaration to bind a function to a name

I am new to flutter. I was using the camera plugin to add the camera to my app. And I got this warning Use a function declaration to bind a function to a name. How can I solve this one? Code - Widget _cameraTogglesRowWidget() { final…
7
votes
2 answers

Flutter: include of non-modular header inside framework module 'firebase_core.FLTFirebasePlugin'

I have been trying to run my Flutter code on IOS device. However I am getting some errors regarding non-modular headers inside Framework module. Logs: While building module 'firebase_core' imported…
Ali Solanki
  • 640
  • 7
  • 16
7
votes
1 answer

Failed to build iOS app Error output from Xcode build:

I upgraded my flutter version to Flutter 1.24.0-10.2.pre • channel beta • https://github.com/flutter/flutter.git Framework • revision 022b333a08 (3 days ago) • 2020-11-18 11:35:09 -0800 Engine • revision 07c1eed46b Tools • Dart 2.12.0 (build…
Hkm Sadek
  • 2,987
  • 9
  • 43
  • 95
7
votes
3 answers

Flutter: Cannot build iOS project

It was working project on android but when I try to build on iOS I couldn't do it, please share me with knowledge if face with this issue too. Sorry for my broken English. Here's log file: Flutter crash report; please file at…
Zhu
  • 387
  • 4
  • 15
6
votes
1 answer

Flutter iOS delete cache when reinstall or update the app

I developed an app on Flutter. There is registration on the app. When I install the app on iOS Phone. I logged in on the app, then I directly deleted the app from the iPhone for the test. Then I reinstall the app to the same phone. But app shows…
Maksat
  • 311
  • 5
  • 24
6
votes
0 answers

callback_cache.cc(132) Could not parse callback cache, aborting restore - [Flutter]

I am trying to run Flutter application after my latest flutter upgrade. It shows below error Runner[58802:2599379] [VERBOSE-1:callback_cache.cc(132)] Could not parse callback cache, aborting restore Application shuts after native Splash screen. In…
Harsh Bhavsar
  • 1,561
  • 4
  • 21
  • 39
1
2
3
23 24