AIR 28 - Saving game progress in tvOS (Apple TV)
Hello,
I'm porting a iOS game to the tvOS platform.
I want to save the game progress as I do in mobile devices, but if I'm not wrong, the way to do this in tvOS is using iCloud service because it's not posible to write a state file in the device.
For doing it I'm using an ANE. Exactly I'm using a comercial one, from Distriqt (https://airnativeextensions.com/ ).
I convert the iOS ANE to tvOS ane as the documentation tells: https://fpdownload.macromedia.com//pub/labs/flashruntimes/shared/pvt/air28_appletv_releasenotes.pdf
Doing this I have the ANE working for tvOS, at least If I publish for device testing.
It's strange because the app works perfectly with iCloud support in my Apple TV when I publish for testing. But when I publish for distribution I get the next error message:
"Error creating files.
Id:in
C:\\Users\Edu\\AppData\\Local\\Temp\\f7dda99-c7af-47da-a062-7ec6d93b72a1/CoreNativeExtension.framework/CoreNativeExtension(DTObjectIdentifier.o), building for tvOS, but linking in object file built for iOS, for architecture arm64
Compilation failed while executing: Id64"
Is there anything I can do to publish the IPA for distribution? The ANE works in the device when I publish it for testing.
Or, there are another solution for doing this?
Any suggestion will be wellcome.
Thanks in advance, and I hope somebody could help me with this ![]()
Have a happy new year!
3dU
