8 Replies
      Latest reply on Dec 29, 2019 7:45 PM by KMT
      iang Level 1 Level 1 (10 points)

        Hello,

         

        We are working on a version of our Mac product that offers in-app purchase. It seems since upgrading to Catalina a couple of days ago I can no longer sign in with an App Store Connect sandbox account to test in-app purchases. Here is what a somewhat typical testing flow looked like when I was testing on Mojave with Xcode 11.

         

        TO TEST FIRST TIME USER EXPERIENCE

        1. Sign out of the Mac App Store

        2. Delete the _MASReceipt folder from the debug build app bundle.

        3. Launch the debug build of the app from the Finder. At this point I would be presented with a screen to sign in to the Mac App Store.

        4. Sign in with sandbox credentials and then app would quit, but there would then be a _MASReceipt folder in the app bundle.

        5. Build and run the app from Xcode and debug and test and whatnot.

         

        Now that with Catalina, I cannot get past step 3. I am presented with a dialog saying "SIgn In to the App Store" and the dialog does say [Environment: Sandbox] on it. I have tried 4 different Sandbox users and I can't get passed this dialog. It goes away briefly, but always pops back up and the receipt is never installed in the app bundle.

         

        I have tried restarting several times, even with both fingers crossed.

         

        Do I need to change my flow for Catalina or perhaps it is unrelated to the OS version and I'm just doing it wrong?

        • Re: macOS Sign In to the App Store failing for testing
          Ilia.E Level 1 Level 1 (0 points)

          Hi!

          I have the same issue. In Catalina doesn't work verifying of the app wich build for the App Store with sandbox tester account. It say "Your Apple ID or password is incorrect." But I'm sure I enter the correct credentials. And creation of the new tester account didn't help for me.

          It's so pitty for us, becouse we can't normally test our app before release.

          • Re: macOS Sign In to the App Store failing for testing
            moondog Level 1 Level 1 (0 points)

            Same issue here. Did you create an issue for this in the new feedback assistant?

            In my case when I try to do the testing, first it come up with a user ID, that I have deleted from the list of sandbox users. Somehow using that old user, a little more happens, because it then says that the app is damaged and must be downloaded again from the app store. So maybe this is an issue on the web part and not so much in Catalina?

             

            I also tried to create a new user and not validate the account via the email you receive: same result.

            What looks new to me is the checkmark for Apple Pay. That is always on, and cannot be turned off (so why display this; bad design). So maybe the Apple Pay people have messed things up?

             

            I guess I could test how things work under the previous OS version, but that's a whole lot of work for something that should never break. It's a frustrating mess.

            • Re: macOS Sign In to the App Store failing for testing
              lbrody Level 1 Level 1 (0 points)

              I'm encountering this issue as well. Any updates?

                • Re: macOS Sign In to the App Store failing for testing
                  gregm Level 1 Level 1 (10 points)

                  I've been encountering this same issue. I've got the situation where I have an older test user (from a different app) showing up automaically in the credentials and whe I enter a known valid test user for this app I get the "Your Apple ID or password is incorrect." message.

                   

                  That made me think that somehow the sign in was trying to reference this older app. To test this theory I created a new user on my Mac and built the app as that user. When I tried to run it, the sign in popup came up empty and when I entered the test user that I had been trying previously it worked correctly.

                   

                  When I went back to my normal accont on my Mac I still got the "Your Apple ID or password is incorrect." message with those same credentials.

                   

                  That makes me think that something is baked into my normal acount that is somehow directly the sign in to the wrong App Store Connect account. I image if I could find where this prefiled Apple ID is coming from I could correct the issue. Does anyone have any idea where this informaton is stored?

                   

                  Thanks,

                  Greg

                    • Re: macOS Sign In to the App Store failing for testing
                      KMT Level 9 Level 9 (15,395 points)

                           > Does anyone have any idea where this informaton is stored?

                       

                      Might want to start by looking at the apple ID(s) tied to iCloud that reside on that mac.

                       

                      Otherwise, keychain.

                        • Re: macOS Sign In to the App Store failing for testing
                          gregm Level 1 Level 1 (10 points)

                                   > Might want to start by looking at the apple ID(s) tied to iCloud that reside on that mac.

                           

                          No sure exactly whatyou mean by this, but both the mac account that works and the one that did not are signed into the same iCloud account. There are no other users on the mac and no other iCloud accounts in use.

                           

                                   > Otherwise, keychain.

                           

                          Thanks ... this was my first tought too. I just looked again to be sure and there are no references to this older Sandbox test user in keychain.

                           

                          Thank you for your ideas ...

                            • Re: macOS Sign In to the App Store failing for testing
                              KMT Level 9 Level 9 (15,395 points)

                                   >There are no other users on the mac and no other iCloud accounts in use.

                               

                              ...and yet, above you stated:

                               

                                   >I created a new user on my Mac

                               

                              Looks like you may need to clear things up, and, consider starting your own, unique thread, with your questions/issues, etc.

                               

                              Good luck.