After upgrade to MacOS Mojave, I cannot login or connect to App Store.

I am using the latest MacBook Pro 2018 version. After upgrade to MacOS Mojave, I cannot sign out, login App Store or View my account. It always show "Cannot Connect to App Store". I also upgrade my iMac to MacOS Mojave, my iMac does not have this issue.


How can I fix this issue on my 2018 MacBook Pro?


Thank you

MacBook Pro TouchBar and Touch ID, iOS 12

Posted on Sep 24, 2018 7:50 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 2, 2018 7:04 AM

I found a solution that worked for me. It took me two steps, and all credit to BocaBoy in this thread: Re: Mojave installation fails: duplicate App Stores, can't sign in with Apple ID (Macbook Pro, Late 2016)


  1. Disable System Integrity Protection:
    1. Reboot the computer into restore mode (press command-R during startup)
    2. Select Terminal from the Utilities... menu
    3. Enter csrutil disable and press return
    4. Restart
  2. Back up and archive the folder in /Library/Security/Trust Settings before deleting them through Terminal. I'll copy BocaBoy's instructions here for you all:


OK, I just spoke with Apple engineering and they gave me a fix for this. It worked for me and it may work for you. You must know how to use Terminal and access hidden directories with Finder in the root of your drive.


First, make SURE that you've backed up the directory /Library/Security/Trust Settings. Copy it on your Desktop or Downloads directory, or wherever you'll be able to access it.


1. Again, back up the user certificate trust settings files described above. Then, remove them with the following commands, entering your administrator password when prompted:


cd "/Library/Security"

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist


2. Attempt to sign into the App Store.


This didn't work for me until I restarted at which point I was able to log in and see all of my accumulated updates. If you're not comfortable working at the system level, DON'T do this. If you are, this may fix your problem. It did for me.


Once you're sure that you've got the App Store working, you can delete the TrustSettingsBackup.zip file as well as the backup of the Trust Settings directory.

3. Reenable System Integrity Protection by repeating step 1 but using the command csrutil enable.


After I modified the Trust Settings directory, I was able to reboot and connect to the App Store and Books Store.


Good luck, everyone!

379 replies

Sep 25, 2018 3:29 PM in response to brianyen0

Hi there, brianyen0!
Thanks for reaching out to the Apple Support Communities! It sounds like you have an issue with connecting to the App Store on your Mac and I’m happy to assist. I recommend checking out this article with steps to follow If you can't connect to the iTunes Store, iBooks Store, or App Store. This article will give you the best troubleshooting steps to take, along with the next steps to take if the issues continue.
Have a wonderful day!

Sep 27, 2018 2:01 PM in response to Old Toad

Does that actually show a Debug menu on Mojave? When I perform those steps, there is no Debug menu.


$ defaults write com.apple.appstore ShowDebugMenu -bool true

$ defaults read com.apple.appstore

{

...

ShowDebugMenu = 1;

UserSetAutoPlayVideoSetting = 0;

mostRecentTabIdentifier = discover;

}


[Open App Store]


$ defaults read com.apple.appstore

{

...

UserSetAutoPlayVideoSetting = 0;

mostRecentTabIdentifier = discover;

}

[ The ShowDebugMenu setting is no longer present ]

Sep 29, 2018 11:26 AM in response to iFrog41

In general Mojave creates the APFS for the SSD part of the fusion drive and standard format for the HD portion. That is what I have. If you look at the system report you will see that configuration in the SATA drive area. I tried the above posters method and downloaded a drive cleaner. But alas no luck still can't login. I have reinstalled Mojave from the CMD-R no luck. It is up to the engineers. I might install Beta 1 and see what happens if Wednesday bears no fruit.

Oct 1, 2018 10:09 AM in response to brianyen0

Reinstalled macOS and have the same

exact issue. I’ve tried all suggestions posted in this forum and have not resolved the issue. It seems like the only option is to do a clean install, restore files from back up and not restore system settings. I think that’s overkill because it seems like a networking configuration issue on the app side that might be resolved by fixing a file or configuration setting.

 needs to address this since it seems like a common bug.

Oct 2, 2018 6:36 AM in response to Stefanspk

Stefanspk wrote:


We had exactly the same problem after we upWe are all connected over ethernet and this morning I disconnected the ethernet and opened up a personal HotsSpot on my iPhone- and now the App Store is back to life..!

Tried this immediately just seeing your post - no luck unfortunately. Same behavior with personal hotspot as with ethernet and wifi.

Oct 2, 2018 6:41 AM in response to b33rg33k

b33rg33k wrote:


So this is a network related issue with the App Store and network port configuration. Funny that so many folks can replicate the issue but we have yet to hear from  Support on a quick fix. Does anyone know what ports the App Store uses when it's connects to Apple's servers?

Yes, I've looked at it. The app store mostly uses 443/tcp, but I don't believe that's the issue. In my case there is no actual network connection attempted that I've been able to detect when signin fails.

Like some of the posters a few pages back I suspect an issue with certificates that are causing the SSL connection to fail before a TCP packet is even sent, but have not had any luck figuring out which exactly and where.

Oct 3, 2018 7:57 AM in response to macnewED

macnewED


The plist files that are removed will be regenerated the next time they're required by an application. There's either some sort of corruption or contradictory line of code in those files that was causing the problem.


Apple prioritizes their focus first on items that crash the system or cause kernel panics, then start down the list from there. I've been beta testing Mojave for months, and this problem has been there since I started. It doesn't appear to be too wide spread since, on the developers forum, I was the only one reporting the problem. Once Mojave went into wider release, it started to affect more people and hence it got their attention.

Oct 8, 2018 6:55 PM in response to kilgoresalmon

I am proud and grateful for all the ideas. I now can open the app store. Following the lead from Mr Gertz above, I discovered that I had three app store applications on my computer . One was buried in a folder on my desktop, and on was found by going through my old hard drive accounts looking for a comparable date, which I did.


So all is well (right now). Thanks to all.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

After upgrade to MacOS Mojave, I cannot login or connect to App Store.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.