I am using RMStore's app receipt to verify a non-renewing subscription . When I try to send this receipt to iCloud I get an error : * -[NSUbiquitousKeyValueStore setObject:forKey:]: Attempt to insert non-property value '' of class 'RMAppReceipt'.
Here is the code :
RMAppReceipt *receipt = [RMAppReceipt bundleReceipt];
NSUbiquitousKeyValueStore *storage = [NSUbiquitousKeyValueStore defaultStore];
[storage setObject:receipt forKey:@"iReceipt"];
Any ideas?
I fixed it by creating an array from properties inside and sent an array to iCloud.