sidlatau / flutter_email_sender

Allows send emails from flutter using native platform functionality.
Apache License 2.0
156 stars 84 forks source link

[PPT] Error creating the CFMessagePort needed to communicate with PPT. #79

Open martin-robert-fink opened 3 years ago

martin-robert-fink commented 3 years ago

On iOS get the error: [PPT] Error creating the CFMessagePort needed to communicate with PPT. when using FlutterEmailSender.send(email).

The email window comes up as expected. If I send or cancel the email, then I get the following error stream:

[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:609 (
    0   AXRuntime                           0x00000001a5fb2c24 638F11FF-7696-30F3-A29E-8ECB6147567D + 322596
    1   AXRuntime                           0x00000001a5f685dc _AXGetPortFromCache + 708
    2   AXRuntime                           0x00000001a5f69cec AXUIElementPerformFencedActionWithValue + 488
    3   UIKit                               0x00000001f08bdc70 89D9DA59-C6CA-39FF-AF87-AB9019F15DC6 + 932976
    4   libdispatch.dylib                   0x0000000180ef1c04 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 7172
    5   libdispatch.dylib                   0x0000000180ef3950 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 14672
    6   libdispatch.dylib                   0x0000000180efb0ac 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 45228
    7   libdispatch.dylib                   0x0000000180efbc10 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 48144
    8   libdispatch.dylib                   0x0000000180f06318 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 90904
    9   libsystem_pthread.dylib             0x00000001f05b11b0 _pthread_wqthread + 288
    10  libsystem_pthread.dylib             0x00000001f05b0f50 start_wqthread + 8
)
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:609 (
    0   AXRuntime                           0x00000001a5fb2c24 638F11FF-7696-30F3-A29E-8ECB6147567D + 322596
    1   AXRuntime                           0x00000001a5f685dc _AXGetPortFromCache + 708
    2   AXRuntime                           0x00000001a5f69cec AXUIElementPerformFencedActionWithValue + 488
    3   UIKit                               0x00000001f08bdc70 89D9DA59-C6CA-39FF-AF87-AB9019F15DC6 + 932976
    4   libdispatch.dylib                   0x0000000180ef1c04 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 7172
    5   libdispatch.dylib                   0x0000000180ef3950 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 14672
    6   libdispatch.dylib                   0x0000000180efb0ac 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 45228
    7   libdispatch.dylib                   0x0000000180efbc10 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 48144
    8   libdispatch.dylib                   0x0000000180f06318 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 90904
    9   libsystem_pthread.dylib             0x00000001f05b11b0 _pthread_wqthread + 288
    10  libsystem_pthread.dylib             0x00000001f05b0f50 start_wqthread + 8
)
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:609 (
    0   AXRuntime                           0x00000001a5fb2c24 638F11FF-7696-30F3-A29E-8ECB6147567D + 322596
    1   AXRuntime                           0x00000001a5f685dc _AXGetPortFromCache + 708
    2   AXRuntime                           0x00000001a5f69cec AXUIElementPerformFencedActionWithValue + 488
    3   UIKit                               0x00000001f08bdc70 89D9DA59-C6CA-39FF-AF87-AB9019F15DC6 + 932976
    4   libdispatch.dylib                   0x0000000180ef1c04 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 7172
    5   libdispatch.dylib                   0x0000000180ef3950 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 14672
    6   libdispatch.dylib                   0x0000000180efb0ac 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 45228
    7   libdispatch.dylib                   0x0000000180efbc10 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 48144
    8   libdispatch.dylib                   0x0000000180f06318 959CD6E4-0CE7-3022-B73C-8B36F79F4745 + 90904
    9   libsystem_pthread.dylib             0x00000001f05b11b0 _pthread_wqthread + 288
    10  libsystem_pthread.dylib             0x00000001f05b0f50 start_wqthread + 8
)

Here's the flutter doctor -v:

mfink@MacBook-Pro bin % flutter doctor -v
[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-arm, locale en-US)
    • Flutter version 2.5.1 at /Users/mfink/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (4 days ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mfink/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 13.0, Build version 13A233
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.60.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (3 available)
    • Martin iPad Pro (mobile) • 00008027-001259C10CF8402E • ios            • iOS 15.0 19A346
    • macOS (desktop)          • macos                     • darwin-arm64   • macOS 11.6 20G165
      darwin-arm
    • Chrome (web)             • chrome                    • web-javascript • Google Chrome
      93.0.4577.82

• No issues found!

is there something I'm doing wrong? Thanks!

LIMMIHEE commented 2 years ago

I'm having the same problem, did you solve it?

martin-robert-fink commented 2 years ago

Nope. Just ignoring the error.

espbee commented 2 years ago

@martin-robert-fink have you had any issues? is your app live? i don't get the follow up errors, sending and canceling are fine. but it's disconcerting anyway.

martin-robert-fink commented 2 years ago

No follow up. Here's a video of the app (if you're interested): FPGA View.

I'm rewriting large chunks of the app. I'm changing state management from GetX to Bloc and I'm making the VCD parser multi-threaded (as well as the waveform painter). This version was written/optimized primarily for the iPad. Users really wanted a web version, so that's the motivation. Doing threads (Isolates on native and web workers on web) is a bit of a challenge in a multi-platform environment. That's what I'm working through now.

espbee commented 2 years ago

@martin-robert-fink indeed, good luck with the threading. So you haven't gone through the Apple store yet, or any such ?

martin-robert-fink commented 2 years ago

Only through the beta (now expired). No issues with the App Store at least for TestFlight.

JasonChiu-dev commented 1 year ago

For Flutter APP: Is there anyone who know the exactly solution for this issue (

[PPT] Error creating the CFMessagePort needed to communicate with PPT.

)?

ObranS commented 1 year ago

For Flutter APP: Is there anyone who know the exactly solution for this issue (

[PPT] Error creating the CFMessagePort needed to communicate with PPT.

)?

Have the same issue(

Aqitaniya commented 1 year ago

[PPT] Error creating the CFMessagePort needed to communicate with PPT. same issue(