Adding IAP
- Create a new app ID and create a new app using that ID on apple connect
- Add IAP and make sure that screenshots are provided to get the IAP in Ready to Submit state.
- To test IAP on test account, you need to wait between 12-24 hours to make the product available to test.
App installation failed, Could not write to the device
- Restart your iphone and xcode.
- Sometimes restart Mac or build 3-4 times
- If you have another device such as iPad, build and run for that device and then run it back with previous device again
Building to device
- Export XCode project from Unity as usual.
- Create new development certificate for building into the device
- Mark automatic code signing if you're in development and testing the app
- Select your team in the provision profile
Note : If you're using onesignal, make sure you also select your team in targets in onesignal project as well.
Publishing to appstore
- Create distribution profile for app and download it
- Uncheck automatic code signing and use the downloaded profile
- Disable bitcode in both project and targets to make sure bitcodes are not problems since if you're using thirdparty frameworks such as facebook, your archive build will fail if they don't support bitcodes.
Note : If you're using onesignal, make sure that you have to create a new multi-domain distribution profile for onesignal project and select that profile in targets.
Note : Don't forgot to turn on IAP and Push notifications in Capabilities
Comments
Post a Comment