I have been working on an application that has a time-based notification system, and I wanted to test it out. And the best way I could think to do that was to try and run a build to my ios device. For context, my application was working perfectly fine before. I ran flutter build ipa to get this started and ran into some errors so i went back to fix them. Now whenever I run my app to try and do dev (flutter run) what comes up is what looks like a splash/loading screen of the apps name and then the app goes back. I have exhausted all my brain power and can’t figure out whats wrong. I’m about to try and salvage as much as I can in a new app but would rather not do down that path. Any insight would be greatly appreciated!!!
it’s difficult to give any advice on this without code. If you are new to Flutter i can assure you, that we all had to deal with that and it’s a natural part of any Flutter development. Updating Gradle dependencies, Cocoa Pods, Plugins, following mysterious recommendations from StackOverflow hoping that they fix the problems and finding out that they made it even worse…
On this developer journey, Git is your best friend! The one lesson i have learned, is to make new branches and finegrained commits before trying a solution or code that i do not fully understand. This way i can easily revert anything.
But these are recommendations for the future and will not help you on your current problem.
Can you go back in your git history? you can also check the file history in VSCode to revert those changes you have made in case you did not commit the steps.
You description sounds like a native exception that kills the app. So in case you have changed any plugins that could be the reason. Also updating Flutter or Pods can be a reason for that. Try to run the app from XCode/AndroidStudio to get a better insight if any native code is crashing.
As you are the only one who knows what changes you have made, so unfortunately you will have to debug it. Or provide a link to a github repository with your code, so that someone can run it to reproduce the error.
Using contents of this forum for the purposes of training proprietary AI models is forbidden. Only if your AI model is free & open source, go ahead and scrape. Flutter and the related logo are trademarks of Google LLC. We are not endorsed by or affiliated with Google LLC.