question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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!

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
martin-robert-finkcommented, Apr 8, 2022

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

1reaction
martin-robert-finkcommented, Jan 11, 2022

Nope. Just ignoring the error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error creating the CFMessagePort needed to communicate ...
I wrote a workaround using a hosting UINavigationController and here is my code: import SwiftUI import ContactsUI struct ContactPickerView: ...
Read more >
imessage extension not getting touch events - Apple Developer
[PPT] Error creating the CFMessagePort needed to communicate with PPT. any ideas? PS: this is on simulator. i tried on device, same behavior....
Read more >
iOS : Error creating the CFMessagePort needed to ... - YouTube
iOS : Error creating the CFMessagePort needed to communicate with PPT [ Gift : Animated Search Engine : https://bit.ly/AnimSearch ] iOS ...
Read more >
Requesting help with a sticker pack (bug?) : r/iOSDevelopment
... I get the following error: “StickerPackExtension[29072:5749461] [PPT] Error creating the CFMessagePort needed to communicate with PPT.”.
Read more >
Issues · sidlatau/flutter_email_sender - GitHub
[PPT] Error creating the CFMessagePort needed to communicate with PPT. #79 opened on Sep 21, 2021 by martin-robert-fink.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found