After updating iOS, all applications using the framework stopped running on the device, but they run on the simulator
I had the same issue with realm, it would work on the simulator but crash instantly on the actual devices.
It seems when updating to iOS 13.3.1 Apple changed the behaviour of free apple developer accounts, no longer allowing them to use embedded frameworks.
The solution is to remove the use_frameworks!
in your Podfile and replace it with use_modular_headers!
e.g.
target 'your_project_name' do
use_modular_headers!
pod 'RealmSwift'
end
This will include them as static libraries instead.
I stumbled upon the solution in this GitHub issue:
https://github.com/Alamofire/Alamofire/issues/3051
Flutter application not running in iPhone after upgrading iOS to 13.3.1
It's related to iOS 13.3.1 version and nothing to do with Flutter SDK.
Please read https://github.com/flutter/flutter/issues/49504
It is fixed on iOS13.4 beta version.
Till then, avoid using personal teams for Automatic Code signing.
All my apps crashing on launch on physical iPhones
In your podfile
comment the use_framework!
line and run your pod install again.
It is a problem in iOS 13.3.1 with dynamic frameworks
App stop running on iOS after upgrading Flutter and Xcode
After many attempts and applying possible solutions now I think that the answers to this question depend on the project and dependencies and there can not be one only perfect solution.
- From my side to solve This problem what I have done is:
- Back up the Existing project.
- Create a new flutter project.
- Copy the mentioned files from the existing project into the new project you just created.
Files
pubspec.yaml
Androidmanifest.xml
Folders
assets
lib
- Beside this files and folder you have to also copy the file which you manually updated in the Android or ios folder for your project.
After make sure you copied all files and folders you want for your project try running your newly created flutter project.
Related Topics
Xcode 7 Supporting Watch Os1 and Os2
Uitableviewcell Imageview Changing on Select
Programmatically Go Back to Previous Viewcontroller in Swift
How to Get Hour and Minutes from Nsdate
Uifont - How to Get System Thin Font
Xcode 6 Storyboard Unwind Segue with Swift Not Connecting to Exit
Swift Protocol Get Only Settable
iOS How to Detect Programmatically When Top View Controller Is Popped
Split View Controller Must Be Root View Controller
iOS - Push Viewcontroller from Code and Storyboard
Eraser Not Working in iOS Drawing
Run iPhone as an Ibeacon in the Background
Delete Specified File from Document Directory
How to Hide "-" (Delete) Button While Editing Uitableview
Exc_Bad_Instruction (Code=Exc_I386_Invop, Subcode=0X0) on Dispatch_Semaphore_Dispose
iOS 13 Uibarbuttonitem Not Clickable and Overlapping Uinavigationbars When Using Uisearchcontroller