Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Turn off in-app purchases on xcode

Tags:

xcode

ios

iphone

I'm trying to test my app on an iPad / iPhone.

I've not registered for the developer program yet. I do have an appleId, was waiting until the app was more or less ready before I enrolled in the program.

Anyway, when I try to run the app I just get told that

The 'In-App Purchase' feature is only available to users enrolled in Apple Developer Program. Please visit 
https://developer.apple.com/programs/ to enroll

I know there is some setting somewhere for me to turn off in-app purchases, just not sure where it is? I've scoured most of the settings pages, run searched etc. and just cant seem to get past this?

edit: heres my capabilities tab in my xcode project settings.

xcode project settings

like image 853
dyatesupnorth Avatar asked Jul 24 '16 13:07

dyatesupnorth


1 Answers

For anyone who's coming across the same problem, this issue arises when you 1) previously had a developer account which expired and 2) you had in-app purchases enabled.

The solution is to go to click on the main project root in the left side panel which should reveal the project properties. Scroll to the bottom and there is a Linked Frameworks and Libraries. Remove the StoreKit.framework, go to Signing, disable the 'Automatically manage signing' option and enable it again. If needed, set your Team to 'None' and set it back to your Personal Development Team, which should trigger the automatic provisioning mechanism.

like image 69
zephinzer Avatar answered Oct 12 '22 22:10

zephinzer