I have built an app in FlutterFlow, and exported it to Xcode for building an app bundle for store upload.
I have installed all of the app dependencies, Flutter, CocoaPods, and iOS simulator for iPhone.
I have set up the signing account with my Apple Developer account, set the developer team in Xcode, and registered the app bundle identifier.
I then run the app in Xcode v15.0.1 after completing all of the setup settings in Runner and set it to run in iPhone 15 simulator with iOS 17.0.
The build process completes fully without any issues.
Then, when the app is sent to the iPhone simulator to run, it shows only a white screen, and these error messages:
Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process." UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}
[FATAL:flutter/display_list/skia/dl_sk_dispatcher.cc(277)] Check failed: false.
It then shuts the app launch down, and shows the thread with SIGABRT.
The first message is in regards to The Core Telephony service.
The second appears to relate to Skia, the graphics rendering library of Flutter, but it does not indicate the cause.
What might be causing this, and how can it be resolved?
I have tried checking all of the runner settings, and attempting to run the "flutter build ios" command from terminal directly, which does not work either and says to use "Product/Run" from Xcode.
I have tried cleaning the build folder and rebuilding multiple times, without any changes.
The app uses Firebase, a subsection runner target called "ImageNotifcation" for notifications.
I have changed the build phases settings to resolve previous issues, and they are in this order:
- Target Dependencies
- Run Build Tool Plugins
- Check Pods Manifest.lock
- Embed Frameworks
- Embed App Extensions
- Embed Pods Frameworks
- Run Script
- Compile Sources
- Link Binary with Libraries
- Copy Bundle Resources
- Thin Binary
- Copy Pods Resources
2
Answers
The problem is related to Impeller rendering engine on iOS. check this link
Try running without Impeller like below
add this code into your info.plist file
then you can run your code normally. That’s worked for me