ios – How to make stickers appear in iMessage extension using Xcode 15.1


I’m trying to write a very simple extension to display a sticker. None of Apple’s sample code works on device or in simulator. I can’t tell if it’s a complete regression on Apple’s part or something specific to my setup. The only error message that the console displays is:

Error creating the CFMessagePort needed to communicate with PPT.

I have used this sample code: creating a sticker app and have also tried the vanilla ‘Sticker Pack App’ at File > New > Project > Sticker Pack App. In both cases, iMessages shows an icon of my app in the extension list, but no images are displayed. I have tried using images of various sizes per the guidance here, but stickers still refuse to display.

Is a new entitlement/setting required by Apple that is not flipped on in the sample code or Xcode template?

I’m using Xcode 15.1 and iOS 17.2

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img