Unity IAP 3.0.2 not compiling for tvOS

This is with Unity 2020.3.3f1 and Xcode 12.4

com.unity.purchasing/Plugins/UnityPurchasing/iOS/UnityPurchasing.m:311:40: error: 'presentCodeRedemptionSheet' is unavailable: not available on tvOS

I believe presentCodeRedemptionSheet was recently added for iOS.

And if you were also interested in some warnings…

com.unity.purchasing/Plugins/UnityPurchasing/iOS/UnityPurchasing.m:405:50: warning: 'transactionReceipt' is deprecated: first deprecated in tvOS 7.0```

We will take a look

Hi @paulcodemonkey ,

We have a fix implemented for this tvOS issue. It should be available shortly in an upcoming version (3.1.0, hopefully).

Sorry for the inconvenience.