SKAdnetwork 2.2

Anybody got success with getting postback with SKAdnetwork 2.2. After implementing everything as per guidelines we are not receiving any callbacks, not even installation callbacks which used to work with 2.0.

Thanks in advance.
Answered by pm-pramod in 675704022
I am able to get SKAdnetwork 2.2 for fidelity-type 1 but

[SKAdNetwork startImpression:self.impression completionHandler:^(NSError * _Nullable error) {
      NSLog(@"Start SKAdImpression with error: %@", error);
    }];

Always failing with below error

2021-05-25 17:49:16.120256+0530 SKAdNetworkApp[2409:704536] SKAdNetwork: Error in remote proxy while starting view-through impression: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service on pid 0 named com.apple.storekitservice" UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.storekitservice}


iOS console logs

<NSXPCConnection: 0x100978be0> connection on mach service named com.apple.storekitservice from pid 2409: Exception caught during decoding of received selector startAdImpressionWithConfig:completionHandler:, dropping incoming message.
Exception: Exception while decoding argument 0 (#2 of invocation):
Exception: +[NSNumber enumerateObjectsUsingBlock:]: unrecognized selector sent to class 0x1e613e768

Any idea?

Thanks in advance !
Accepted Answer
I am able to get SKAdnetwork 2.2 for fidelity-type 1 but

[SKAdNetwork startImpression:self.impression completionHandler:^(NSError * _Nullable error) {
      NSLog(@"Start SKAdImpression with error: %@", error);
    }];

Always failing with below error

2021-05-25 17:49:16.120256+0530 SKAdNetworkApp[2409:704536] SKAdNetwork: Error in remote proxy while starting view-through impression: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service on pid 0 named com.apple.storekitservice" UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.storekitservice}


iOS console logs

<NSXPCConnection: 0x100978be0> connection on mach service named com.apple.storekitservice from pid 2409: Exception caught during decoding of received selector startAdImpressionWithConfig:completionHandler:, dropping incoming message.
Exception: Exception while decoding argument 0 (#2 of invocation):
Exception: +[NSNumber enumerateObjectsUsingBlock:]: unrecognized selector sent to class 0x1e613e768

Any idea?

Thanks in advance !
SKAdnetwork 2.2
 
 
Q