Adds Apple Pay functionality to your Unity project.
- UniTask (for asynchronous operations)
- Drag the
project-root/ApplePayUnityPlugininto Unity (preferably atAssets/Plugins/)
Unity/Runtime/ApplePay.cscontains all API with documentation.
- Open
./platforms/ios/ApplePayPlugin_iOS.xcodeprojand modify the project. - From top menu choose
Product/Archive, then chooseProduct/Show Build Folder in Finder, and navigate to.../Build/Intermediates.noindex/ArchiveIntermediates/ApplePayPlugin_iOS/BuildProductsPath/Release-iphoneos/ApplePayPlugin_iOS.framework. Right-click -> Show Original, then Copy (and replace)ApplePayPlugin_iOS.frameworkto./ApplePayPlugin_iOS/iOS/.
- N/A