Xcode 16.2 iOS error = CFMessagePort

Hi, After updating to Xcode 16.2, I am getting an error running all iOS apps. I'm using Sequioa 15.2.

Error creating the CFMessagePort needed to communicate with PPT.

I ran the default Hello World app and got the same error message (plus another error not showing up on my apps - Failed to send CA Event for app launch measurements for ca_event_type: 1 event_name: com.apple.app_launch_measurement.ExtendedLaunchMetrics).

Can I ignore the error or is it truly affecting my app (all are testflight versions and it's fine if I don't update them for awhile, although not ideal).

Hopefully someone can help! Thanks, -Ashley

same issue here :(

Error creating the CFMessagePort needed to communicate with PPT.

I hade same with all above and one additional error Store failed to load. could not create ModelContainer, swift data

same issue here :(

I'm seeing the same issue with a new App I just started. Literally basic start, with a simple view, and I get the same error on start. This seems to prevent the app from executing all together.

I'm getting the same error. It's preventing me from building my project and testing it on my iPhone.

I then get this error message after my app crashes:

"This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data."

In the Debug area when running Xcode apps, click the eyeball icon to find out what library is causing the error. It's really helpful! CFMessagePort needed to communicate with PPT.
Type Error Library UlKitCore PID : TID 10670 : 0x31d27a Subsystem com.apple.UIKit Category PPT Call Site 0x4384fc : -[UlApplication(UlApplicationTesting) _ purplePPTServerPort]

With this information, ChatGPT was finally able to say - The error is logged by UIKitCore, meaning it's part of Apple's framework and not your code.

This did not start until I updated to Xcode 16.2 (and I've reinstalled it). Chat also said - This issue often arises due to miscommunication or missing entitlements related to CFMessagePort in sandboxed environments. It doesn't affect the app's functionality; it's usually a warning tied to Apple's internal tools.

So, hopefully it isn't actually a problem. Ugh!

-Ashley

Does anyone know if I can ignore this error? It wasn't happening before... hoping for input from someone other than AI.

Thanks, -Ashley

Any update on this...? Same issue here. :(

On iOS simulator 18.2 I got this error, but after changing to 18.3.1 simulator the error went away.

In my case I got this 2 errors:

Failed to send CA Event for app launch measurements for ca_event_type: 0 event_name: com.apple.app_launch_measurement.FirstFramePresentationMetric
Failed to send CA Event for app launch measurements for ca_event_type: 1 event_name: com.apple.app_launch_measurement.ExtendedLaunchMetrics

Which I found belonged to a libapp_launch_measurement.dylib and after surfing in the web for a while I found that:

That library(CA Event -> "Core Animation Event") it is used by Apple internally to measure the time it takes your app to present the first frame of your app, and those errors mainly occur when you are either in debug or at the simulator

So to summarize it is not an error that we should worry about since it does not messes up our building or project and you can go to the Product top menu and select the option Clean Build Folder and then compile or run you project again, and that should be enough

Xcode 16.2 iOS error = CFMessagePort
 
 
Q