skip to Main Content

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:

  1. Target Dependencies
  2. Run Build Tool Plugins
  3. Check Pods Manifest.lock
  4. Embed Frameworks
  5. Embed App Extensions
  6. Embed Pods Frameworks
  7. Run Script
  8. Compile Sources
  9. Link Binary with Libraries
  10. Copy Bundle Resources
  11. Thin Binary
  12. Copy Pods Resources

2

Answers


  1. The problem is related to Impeller rendering engine on iOS. check this link

    Try running without Impeller like below

    flutter run --no-enable-impeller
    
    Login or Signup to reply.
  2. add this code into your info.plist file

    <key>FLTEnableImpeller</key>
    <false/>
    

    then you can run your code normally. That’s worked for me

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search