After some extensive Googling, I have found that I have to have in-app purchases enabled in order to get Unity Ads to work on iOS. This seems to be the issue that x-code is having when I go to create an archive. When I go to set up an in-app purchase, none of the categories seem appropriate:
Consumable
Non-consumable
Automatically Renewable Subscriptions
Free Subscription
Non-renewing Subscription
Anyone know what I should set up?
I am using Unity 5.0 and Unity Ads from the asset store. I don’t think that matters for my issue. I feel like I’m missing a basic guide somewhere explaining how to initialize everything properly on iOS, but the most promising links on unity3d.com are sending me to 404 pages right now.
X-code allows me to select in-app purchases, but only when I have iOS Developer selected as my code signing identity. I assume I have to set up a legit in-app purchase and pick iOS Distribution code signing to get this to archive and upload properly to the iOS store.
Any help is appreciated. Even a good link that explains all of this that I missed in my own searches would be fantastic.
Here is the error I am getting that eventually got me to the thread I posted previously. Maybe in-app purchases isn’t the problem, but that isn’t it, I am at a complete loss. Any help is definitely appreciated!
I had similar errors. I think enabling IAPs fixes it because it automatically adds the StoreKit.framework. If you instead, leave your IAPs disabled, go into general (xcode project settings), and then add the storekit framework manually, this may fix the error. It did for me.