requestUserTokenForDeveloperToke

hey all:


my request token code :

if (@available(iOS 11.0, *)) {
                [cSC requestUserTokenForDeveloperToken:token completionHandler:^(NSString * _Nullable userToken, NSError * _Nullable error) {
                    /
                    if (!error) {
                        NSLog(@"token :%@",userToken);
                    }else{
                        NSLog(@"ERROR: %@",error);
                    }
                }];
}


I can't use the itunes store in China.


To run an error:

ERROR: Error Domain=SKErrorDomain Code=7 "(null)"
UserInfo={NSUnderlyingError=0x1c005bd50 {Error Domain=SSErrorDomain Code=109 "(null)" 
UserInfo={NSUnderlyingError=0x1c005bff0 {Error Domain=SSErrorDomain Code=109 "Unable to connect to iTunes Store" 
UserInfo={NSLocalizedDescription=Unable to connect to iTunes Store, SSErrorHTTPStatusCodeKey=401}}}}}


How can I solve this problem?

I have the same problem, are there any solutions?

requestUserTokenForDeveloperToke
 
 
Q