Hello!
Trying to find any info about how to add In-App Purchase with application Entitlements.plist file manually (NOT with XCode). Is there any reference within keys and description?
What need to be in this file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>key-for-in-app-purchase</key>
<string>value</string>
</dict>
</plist>
To implement In-App Purchase in your app, you need:
-
Accept the Paid Apps Agreement and complete all tax and banking information.
-
Have an explicit App ID registered in App Store Connect. The In-App Purchase capability appears enabled by default for an explicit App ID and disabled for a wildcard App ID. Hence, it is unnecessary to add the capability in Xcode. Remove it from your project.
-
Configure In-App Purchases products for your App ID in App Store Connect.
You can test In-App Purchases in Xcode test local environment or sandbox. For more information, see