Flutter 1.17.1 update problems on iOS - ios

After I update Flutter to the version 1.17.1 and Dart to 2.8.1 I started to get this following error on iOS:
io.flutter.1.raster (8): EXC_BAD_ACCESS (code=1, address=0x0)
I tried to change the channel to master and do a flutter clean, but that didn't work. I also tried to use some of the other versions of flutter that are on the dev channel but I keep getting the same error. The only way I can successfully run my app is downgrading to flutter version 1.12.13+hotfix.9 that I was previously using. My Xcode is also updated to the latest version, 11.4.1.
Anyone else is having this problem and/or know how to fix it?

So the problem was the same as the link posted in the comments by MyrackeDesign. The extension for iOS, FlutterViewController, caused the problem, when I removed it, the app ran normally.

Related

Incompatible SDK Expo

I am getting an incompatible SDK error. Here are images of my emulator, my package.json. I have tried going back to previous versions of the codes and uninstalling and re-installing everything. I don't know exactly why I got the error. Please help me.
I am trying to use expo go to debug the app and hopefully solve the sdk incompatibility problem and understand the error.

No Such Module Flutter

I've run the flutter app from XCode Using XCode version 13.2.1 (latest in January 2022)
XCode showing error like mentioned in image :
It is claimed by the Flutter team to be a bug with the visual component of XCode... as evidenced by the fact that the project will still build and run from XCode.
There are many reported ways to get rid of it temporarily, such as doing Product\build , Product\Clean Build Folder, or running the project on IOS from within Android Studio...
But these are only temporary and the problem will reappear.
https://github.com/flutter/flutter/issues/92337
How to get rid of this critical issue in XCode, thanks in advance.

Can't get Flutter project running after cloning from GitHub

I'm new to Flutter and have been learning it recently. Been trying to get this flutter app running for my internship, but can't seem to figure out why it's not running. I have no problem getting the default flutter app running on both iOS and Android simulators and on my personal iPhone. Flutter doctor checks out fine. I’ve tried flutter clean, removing the Podfile (as it recommended because it said it was out of date), downgrading flutter to the same version my team was using because I was thinking maybe it was a problem with that working with Xcode 12, and running things like pub get and pod install. Same error all around when trying on Xcode, terminal, android studio, and VScode. I've been pretty much going in circles with the same errors trying different things.
I'm running the app with the following command: flutter run -t lib/main_dev.dart --flavor dev
The third image is the error I got after I tried the first solution on Stackoverflow.
The fourth image is when I try running the app on my android sim.
I've tried the following answers here in Stack overflow
First solution
When I was getting deployment warnings
I could go on with the bunch of different errors I've encountered trying to run on Vscode, android studio, and so on, but basically, I've been going in circles with the same errors and the images below are just the ones I'm encountering now. All I'm trying to do is run the project I cloned from Github. I'm hoping anyone here will find an error that looks familiar to them or a similar situation where they couldn't get a flutter project to run after cloning.
A word of advice, Always run the latest flutter engine unless it is absolutely necessary.
run flutter clean
run rm ios/Podfile ios/Podfile.lock pubspec.lock
Looks like your flutter svg package has to be updated

Not able to build for IOS after flutter upgrade to 1.20.2

I am facing the issue after upgrading to stable flutter version 1.20.2. I am not able to run on IOS. when I start debugging I get this error.
Xcode build done. 48.6s
Failed to build iOS app
Exited (sigterm)
Could not build the application for the simulator.
flutter run -v
Before that, I was on flutter 1.17.5 and everything was working. It is happening on all of my projects. How to resolve?
It happens to me also after Upgrading flutter, My project does not work.Then i create new project and copy paste previous code in new projects.This works for me because previous projects have old dependencies.Try it

React Native : Sample App crashes after upgrading to Mac 10.12.6

I recently updated my Mac to OS.12.6 Sierra.
Previously working React Native (nothing fancy just their AwesomeProject sample app) stopped working.
When I run react-native run-ios I am able to launch the simulator the app just appears, and then crashes back to the iphone app screen without any error messages.
I have uninstalled and reinstalled react-native-cli, upgraded brew, watchman and reinstalled node modules..but no luck
Anyone has any pointers on this ?
I was having the same issues too after upgrading to Sierra 10.12.6.
I resolved by running create-react-native-app <folder>
And then I ejected it with yarn run eject
yarn run ios after, and the app seems stable.
I found out the rootcause of the issue.
Looks like this is a bug with the latest version.
Facebook has acknowledged this as a bug.
The workaround is to create the project with an older version like 0.44
https://github.com/facebook/react-native/issues/15770

Resources