Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Failed to launch Photo Editing Extension from Mac Catalyst app

I have an iOS app that includes a Photo Editing Extension and is optimized for Mac Catalyst so you can edit photos in the Photos app on your Mac. This has worked really well but now I am encountering an error alert trying to open the photo editing extension:

RBSLaunchRequest error trying to launch plugin com.company.TestEditor. TestPhotoEditor (B7A616A7-2 5A8-4E02-8B32-5CAB37C8B4B2): ErrorDomain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x7f08fafd0 {ErrorDomain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}
  1. Create a new iOS app project in Xcode
  2. Create a new target and choose iOS > Photo Editing Extension
  3. For both targets in the project, add Mac Catalyst as a supported destination
  4. Run the app on My Mac (Mac Catalyst)
  5. Open the Photos app, double click a photo, click Edit, click the more plugins button, and click TestPhotoEditor in the list

macOS 15.4.1 + Xcode 16.3

Answered by DTS Engineer in 837964022

Hey @Jordan,

Following your steps exactly, I can reproduce this. However, I noticed that in step 3, Xcode is not automatically creating entitlements files for these targets.

To resolve that, you can create entitlements files manually (I recommend that you create a new macOS app + a photo editing extension for that app, and then just copy the entitlements files over).

Importantly, remember to set the Code Signing Entitlements build setting for each target correctly (reference the macOS project you created to see the expected value for that build setting).

Let me know if this helps, and also, let me know if you are still having issues in your actual app (I suspect your actual app might not have exactly the same issue if it's already had a Mac Catalyst destination for a while).

-- Greg

Accepted Answer

Hey @Jordan,

Following your steps exactly, I can reproduce this. However, I noticed that in step 3, Xcode is not automatically creating entitlements files for these targets.

To resolve that, you can create entitlements files manually (I recommend that you create a new macOS app + a photo editing extension for that app, and then just copy the entitlements files over).

Importantly, remember to set the Code Signing Entitlements build setting for each target correctly (reference the macOS project you created to see the expected value for that build setting).

Let me know if this helps, and also, let me know if you are still having issues in your actual app (I suspect your actual app might not have exactly the same issue if it's already had a Mac Catalyst destination for a while).

-- Greg

Failed to launch Photo Editing Extension from Mac Catalyst app
 
 
Q