Questions tagged [flutter-ios-build]

90 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
66
votes
19 answers

Missing file `libarclite_iphoneos.a` in Xcode 14.3 after update flutter and Xcode

I have flutter project, I'm trying to run the iOS version but I get error after I update flutter and Xcode to the latest version, I use firebase core plugin error: Could not build the precompiled application for the device. Error (Xcode): File not…
Ahmed Hnewa
  • 1,185
  • 1
  • 4
  • 14
15
votes
2 answers

Flutter - build on iOS very slowly, how fix it?

I have flutter's app. I run it app in debug mode on iPhone from Android Studio(on Mac). It is very slowly(about 10 minutes). if I run my project from xCode it is much faster - about a minute. this is a "medium" project, it uses some firebase…
FetFrumos
  • 5,388
  • 8
  • 60
  • 98
10
votes
4 answers

Flutter iOS app version and build number not updating when Archiving in xCode

When I archive my iOS app in xCode for uploading to the Apple appstore it stopped gettign the right version number and build number: My pubspec.yaml has the right numbers: version: 1.0.9+11 And it looks right in xCode but not once it gets…
Ten Digit Grid
  • 1,315
  • 4
  • 22
  • 43
6
votes
3 answers

XCode Error PhaseScriptExecution failed with a nonzero exit code

Need you help please. I've created flutter app and now want to create archive for distribution in Xcode 14.3 . Issue Archive is disabled. Getting this error with build failed PhaseScriptExecution failed with a nonzero exit code Already tried Pod…
Taimoor Sikander
  • 605
  • 1
  • 3
  • 11
5
votes
1 answer

how do i resolve, "Lexical or Preprocessor Issue (Xcode): Flutter/Flutter.h' file not found"?

In file included from /Users/shaifdihan/development/flutter/.pub-cache/hosted/pub.dartlang.org/webview_flutter_wkwebview-2.7.1/ios/Classes/JavaScriptChannelHandler.m:5: …
4
votes
1 answer

Building iOS app on Flutter 2.0.4 error: 'Flutter/Flutter.h' file not found

I have been trying to run app on iOS from Android Studio. I have been getting error /Users/apple/StudioProjects/example-app/ios/Runner/Runner-Bridging-Header.h:1:9: note: in file included from…
Manoj MM
  • 480
  • 1
  • 5
  • 15
3
votes
0 answers

Building a Flutter release build for iOS or Android results in an Out of memory error. Exhausted heap space

I've built several release builds in the past but suddenly my release builds are no longer working. My debug builds are working fine. I can not determine what has changed since the last time I successfully built. Every attempt for iOS release build…
3
votes
1 answer

Flutter Ios prevent screenshot

I'm blocking screenshots and video records for ios in my app. But when I installed the latest update ios rejected it. We noticed that your app shows a custom screenshot-initiated interface when the user takes a screenshot, but the interface…
3
votes
3 answers

Flutter iOS Build Error - framework image_picker not found

I have added v0.8.5 of image_picker library in my project. I have tried following things to solve the issue: Deleted podfile.lock & Pods folder from iOS Directory Deleted pubspec.lock file from Project Directory pod deintegrate flutter clean flutter…
3
votes
2 answers

Flutter iOS build : 'GeneratedPluginRegistrant.h' file not found

I'm trying to do an iOS build of my flutter app. It was originally developed as a web app, and that and the Android version build just fine. I've needed to init the Podfile, and also add some variable to fix a "Sandbox is not in sync" issue. Now I…
Turkey
  • 346
  • 4
  • 16
3
votes
0 answers

Multiple entry points in flutter(flavors for android & iOS)?

I have created new flavors (schemes) prod and dev. I have 2 main entry points in my flutter app. I want to change the entry point according to the selected scheme/flavor i.e. in the prod scheme main file would be main_prod.dart and for dev, it would…
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
1
2 3 4 5 6