iOS 应用打开 App Store 以下载特定产品不会接受密码 SKStoreProductViewController

iOS App Opening App Store to Specific Product for Download Won't Accept Password SKStoreProductViewController

我们有一个应用程序可以打开应用程序商店以供免费下载特定产品。无论我们尝试什么,我们都会不断得到...

"The Apple ID you entered couldn't be found or your password was incorrect. Please try again."

我们尝试过使用多个手机、多个帐户并获得相同的结果。如果我们直接去应用商店下载就可以了。

我们看到的唯一区别是我们有 "GET" 和 "INSTALL" 按钮,而不是应用商店中可用的 "CLOUD ->"。

对此有什么提示吗?

    SKStoreProductViewController *storeProductViewController = [[SKStoreProductViewController alloc] init];
    [storeProductViewController setDelegate: self];
    NSMutableDictionary *parameters = [[NSMutableDictionary alloc] init];
    if (SKStoreProductParameterITunesItemIdentifier && productID)
        parameters[SKStoreProductParameterITunesItemIdentifier] = productID;
    if (systemVersion >= 8.0 && SKStoreProductParameterAffiliateToken && affiliateCode)
        parameters[SKStoreProductParameterAffiliateToken] = affiliateCode;
    if (systemVersion >= 8.0 && SKStoreProductParameterCampaignToken && campainToken)
        parameters[SKStoreProductParameterCampaignToken] = campainToken;

    [storeProductViewController loadProductWithParameters: parameters completionBlock:
     ^(BOOL result, NSError *error)
     {
         if (error)
         {
             UIAlertView *alert = [[UIAlertView alloc] initWithTitle: @"App Download"
                                                             message: error.userInfo[@"NSLocalizedDescription"]
                                                            delegate: nil
                                                   cancelButtonTitle: @"Ok"
                                                   otherButtonTitles: nil];
              [alert show];
         }
         else
             if (viewController.navigationController)
                 [viewController.navigationController  presentViewController: storeProductViewController animated: YES completion: nil];
             else
                 [viewController presentViewController: storeProductViewController animated: YES completion: nil];
     }];

跟进是在应用程序的 App Store 版本中一切正常。不确定开发中发生了什么。