Should IAPs work in AdHoc
AngryBoi
Member Posts: 586
During testing with Adhoc, I noticed when I press my button to get rid of ads, it says, "In-App Purchase Error" "Product identifier was not recognized: side_to_side_no_ads" is this normal?
Comments
Are you singed into an in app purchase test account? Are you using Xcode Instruments to run the app on your device?
@RabidParrot How do I do that?
If you've got that message, it likely means your product identifies don't match - check what you put in the game logic, and check what you put in your Apple account.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@Armelline @RabidParrot Am I doing this right? I am making a AdHoc mobile provisioning profile, and then I sign my game and put it on my device. Where would the identities have to match at?
The value you put in the "Buy" behaviour, the value you put in the PurchaseData table, and the value you put in the iTunes Connect IAP section.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support
@TappWater
Like @Armelline stated,
Verify that your in-app purchase idenifiers all match up.
For example, "RemoveAds" isn't the same as "removeads"
To test in-app purchases
If you have your in-app purchases set up corretcly, you open Xcode >Instruments> Automation. With your app already loaded on your device, go to Automation and in the top left corner there should be a iOS device drop down menu.
Select the device you want to test. There should also be an app drop down menu. Select the app you want to test. Make sure your device is plugged in and press the "Play" button in Automation. This should load up the app on your iOS device. You can then test your in-app purchases. Again, make sure you are using an in-app purchase test account.
Ok thanks
@RabidParrot I did everything you said, but when starting the automation, it said,"the app needs to be signed with a development provisioning profile" So then I went and did that, and then resigned the game. But now I can't get the game on my device because it isn't an AdHoc distribution provisioning profile... thanks for the help
@TappWater
You should be able to install the app on the device. I've used my development certificate to test my apps on my devices. Do you have the device linked to your development provisioning profile?
Good thought. I still have to link. Thanks
Nope nevermind, that's already done
What is Xcode telling you when you attempt to load the app on the device?
Well since I can't put the app on the device because it wont let me with the developing provision profile... I can't try to load it. But when I used the adhoc profile to put the app on my device, it said I had to use a developing profile.