Questions tagged [flutter-ios]

356 questions
140
votes
36 answers

error: 'Flutter/Flutter.h' file not found when flutter run on iOS

I don't know why but I can't build or run the App in my new Macbook, I run the same folder on another Mac or my windows computer and runs perfectly. here when I run flutter clean, I have to run pub get to solve the issues, Is that normal? If I…
Raffaelli L.C.
  • 5,237
  • 5
  • 11
  • 18
132
votes
13 answers

How to get .apk and .ipa file from flutter?

I am new to flutter programming and I've created a demo app, its running fine on both android and iOS devices. I want to see .apk and .ipa file in flutter. Can anyone help me to get these files from Flutter? Where can I see these files in folders or…
Ammy Kang
  • 11,283
  • 21
  • 46
  • 68
28
votes
6 answers

How to resolve an error: The sandbox is not in sync with the Podfile.lock

When I add new plugin in Flutter, I get this error in my runner xcode: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation and I have already install CocoaPods and updated. I tried to run pod…
Mebrouki Amine
  • 351
  • 1
  • 4
  • 6
20
votes
7 answers

Flutter iOS build failure error with Multiple commands after the Xcode upgrade

Flutter iOS build fails after upgrading to Xcode 10.0 version in mac. Nagendras-MacBook-Pro:uaenumber nagendra$ flutter run Launching lib/main.dart on iPhone X in debug mode... Starting Xcode build... Xcode build done. …
Nagendra Badiganti
  • 2,099
  • 2
  • 22
  • 30
18
votes
3 answers

Flutter Ignoring ffi-1.12.2 because its extensions are not built. Try: gem pristine ffi --version 1.12.2

When i try to build Flutter project to IOS it show me this error, I have tried to clean and also tried to change the directory of the project. Launching lib/main.dart on iPhone 12 Pro Max in debug mode... Running pod install... CocoaPods' output:…
17
votes
5 answers

Flutter: Firebase has not been correctly initialized

I'm working on iPhone 12 Pro Max Emulator, macOS Catalina. I'm getting this error when I try to run the app: [VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: [core/not-initialized] Firebase has not been correctly initialized. Also there is a…
16
votes
3 answers

can't run flutter project on iOS simulator

I have been developing e-commerce app for about 3 months, I switched to MacOs recently. I have a problem when I run my code in iOS Simulator every time I run it I get this message. CocoaPods' output: ↳ Preparing Analyzing dependencies …
Muhamad Jabaly
  • 207
  • 3
  • 9
15
votes
3 answers

How to manually add a .xcframework to a Flutter iOS Plugin?

I'm trying to create a Flutter Plugin to use a native library. This library I'm trying to use is stored in a private repository and can be used with Swift Dependency Manager. This is causing me a headache, cause I can't add a private repository…
siega
  • 2,508
  • 1
  • 19
  • 22
13
votes
5 answers

Flutter ios " Could not build the application for the simulator."

I have an android app written with Flutter. Now I am trying to ios version of it and I am getting errors. I tried to run empty flutter project, and it works successfully. No errors with pod install After I tried flutter run I am getting these…
ukale
  • 161
  • 4
12
votes
3 answers

Find an iOS bundle identifier in the flutter application

I am working on a flutter app and cannot find the bundle identifier. According to the documentation here (https://firebase.google.com/docs/flutter/setup), it should be in the General tab but I can't find it. I've also read in places that it could…
mgsoverflow
  • 285
  • 1
  • 3
  • 9
11
votes
4 answers

Flutter for iOS run, build but not archive

My app archive perfectly two weeks age (was the latest update I made). After some minor changes in the flutter code (I did not add any packages or something), I am trying to archive again and I am getting some estrange errors and I have no clue…
11
votes
3 answers

How to save website for offline in flutter mobile

Important note - I want this functionality for mobile apps only, not for flutter web. I am having some trouble saving the website inside the flutter app. I have tried using the cache method and savewebarchive method for the inappwebview. The issue…
raj kavadia
  • 926
  • 1
  • 10
  • 30
11
votes
1 answer

error: 'Flutter/Flutter.h' file not found when running ios build

I've seen this question asked a lot, but none of the solutions I've found have worked for me. As of this week I started getting errors like: url_launcher-5.7.10/ios/Classes/FLTURLLauncherPlugin.h:5:9: fatal error: 'Flutter/Flutter.h' file not…
cloudwalker
  • 2,346
  • 1
  • 31
  • 69
10
votes
7 answers

Getting error while run flutter app in iOS

Launching lib/main.dart on iPhone 12 Pro Max in debug mode... Running pod install... CocoaPods' output: ↳ CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update Error output from…
9
votes
1 answer

Flutter(iOS) -"No CupertinoLocalizations found", how fix it?

I using TextField in my flutter app. It worked on on android. but on ios when I try to paste from the clipboard into the field I get the error: No CupertinoLocalizations found. _CupertinoTextSelectionControlsToolbar widgets require…
FetFrumos
  • 5,388
  • 8
  • 60
  • 98
1
2 3
23 24