requestUserTokenForDeveloperToken return error
if (@available(iOS 11.0, *)) {
[self.cloudServiceController requestUserTokenForDeveloperToken:developerToken completionHandler:^(NSString * _Nullable userToken, NSError * _Nullable error) {
NSLog(@"userToken error - %@", error);
}];
}
Error:
Error Domain=SKErrorDomain Code=7 "(null)" UserInfo={NSUnderlyingError=0x1c105e870 {Error Domain=SSErrorDomain Code=109 "(null)" UserInfo={NSUnderlyingError=0x1c105e180 {Error Domain=SSErrorDomain Code=109 "Cannot connect to iTunes Store" UserInfo={NSLocalizedDescription=Cannot connect to iTunes Store, SSErrorHTTPStatusCodeKey=401}}}}}
How can I solve this problem? Thx!