Missing Stoke Kit Configuration option in Xcode 12

Apple introduced local StoreKit testing in Xcode 12: Setting up StoreKit Testing in Xcode | Apple Developer Documentation

However, StoreKit configuration is missing when exporting iOS project from Unity. On the attached screenshot, you can see a new project started from Xcode vs an exported project generated by Unity.

Does this lead to an error when building in XCode?

No, but you can’t test in-app purchases locally (huge time saver + you can test localizations, too)

Got it! So are you able to select it in that dialog and add it there in XCode?

The option to select StoreKit configuration is missing in projects generated by Unity

So the drop down is empty? Just checking.

It’s missing, see the screen on the right

6260560--690673--screenshot.png

You must use Xcode 12: Setting up StoreKit Testing in Xcode | Apple Developer Documentation

Sorry I’m not quite following. I’m asking you, is the drop down empty on the left screen, the one with the box around it? I’m not looking at XCode at the moment. Can you click on the up/down arrows? It currently says “None”, can you change it?

@JeffDUnity3D , sorry for the confusion. The left screen belongs to an empty app created from scratch in Xcode (it has nothing to do with Unity). The dropdown shows “None” because, I did not create any StoreKit configuration files. My point was: in a project generated by Unity Editor - there’s no option to select StoreKit configuration at all but if you create a new project directly from Xcode - everything works as expected.

The light bulb comes on! Understood now, I will let the team know and I will follow up.

Sweet! Thanks!

Can you tell please, did you solve this?

We are still working on this, hopefully early next year.

Glad to hear this, thank you.

Can you tell please, are there any known workarounds which we can use before Unity fix this?

I always publish a test app and test directly with TestFlight, and create several subscription and non-consumable products, and also several test accounts. We are looking forward to StoreKit testing as well. And it’s not “fix” per se, it’s a feature request and so is a bit lower on priority.

Using Unity 2021.3.3f1 currently. Has this been added?

I think I found a work around at Is there a way to include StoreKit.framework from Unity?