UnityAds iOS: why is the In-App purchase capability enabled?

Just wondering why the In-App purchase capability is enabled since I’ve added UnityAds to my iOS game. When I disable this capability, the build fails and I get the following errors:
OBJC_CLASS$_SKStoreProductViewController”, referenced from:

OBJC_METACLASS$_SKStoreProductViewController”, referenced from:

clang: error: linker command failed with exit code 1 (use -v to see invocation)

Which version of Unity? Tested here with Unity 5.3.1f1 and cannot reproduce the issue, i.e. I can enable Ads without IAP being enabled as well.

-Rasmus

I used Unity 5.3.1p4 and xCode 7.2

Are you referring to same issue as described on Which type of in-App purchases are needed on iOS - Unity Services - Unity Discussions ?

1 Like

Yes that seems to be the same issue! I’m sorry for the double post, guess I missed it in my search somehow - thank you for showing me that thread :slight_smile:
Let me try adding the storekit framework as suggested in that thread and see what happens.