Hello,
we have developed an application for MAC (Environment : 10.13.2. High Sierra, XCode 9.2 , language: SWIFT).
Currently, we are testing in-app purchases in Sandbox environment.
In most cases, everything looks OK (I can buy items and get all responses), but randomly, the in-app purchase crashes and I can not handle the error.
This happens in different situations (maybe after the in-app login window is shown, or after Buying). The error is:
MessageTracer: load_domain_whitelist_search_tree:73: Search tree file's format version number (0) is not supported
MessageTracer: Falling back to default whitelist
[general] <NSXPCConnection: 0x6000001033c0> connection to service named com.apple.storeagent.storekit: Exception caught during decoding of received message, dropping incoming message.
Exception: Exception while decoding argument 0 (#2 of invocation):
Exception: value for key 'NS.objects' was of unexpected class 'NSURL'. Allowed classes are '{(
NSNumber,
NSNull,
NSOrderedSet,
NSSet,
NSArray,
NSString,
NSData,
NSDate,
NSDictionary
)}'.
What could be the problem? Is this a bug just for Sandbox environment?