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

Nov 15, 2018 8:04 PM in response to brianyen0

I just spent four hours trying to figure out this **** problem and tried several things.


Here is the easy answer:

Never mind, just figured out an easier way to resolve this:

  1. Spotlight > System Information.
  2. In the lefthand column, locate Software > Applications.
  3. Find "App Store" in the list. If there are two versions, click the older one and identify its location.
  4. Navigate to that location in Finder and confirm (via right click > Get Info) that it's the older version. Delete it.

Voila!

Mar 18, 2019 3:46 PM in response to Checkyorself289

I really thought your solution would work for me too, but unfortunately no, on multiple MBP Retina 13" that had been wiped and fresh installed with Mojave 10.14.3 for new deployments. And tried all the other solutions suggested in many other locations.

BUT, updating to the v5, and now v6, Betas of 10.14.4 has fixed it (didn't try any earlier betas, sorry, so can't speak for those).

SUCCESS!

Source of the problem was definitely a bug in the app itself, I reckon.

Cheers!

Sep 26, 2018 9:25 AM in response to brianyen0

I was experiencing this issue until this morning and now it seems to have been resolved. I'm not sure if it was fixed by something I did or if it got fixed on Apple's end, but here are the steps I followed just in case:


  • Open Keychain Access app
  • Select "System Roots" keychain and "Certificates" category
  • Find the "Apple Root CA" entry
  • Open the certificate, expand "Trust", switch to "Never Trust", close the certificate
  • Re-open the certificate, expand "Trust", switch to "Use System Defaults", close the certificate
  • Do the above two steps for every "Apple Root CA" entry, "Apple Root Certificate Authority", and "Developer ID Certification Authority" certificate


Essentially, this is resetting the Trust settings for any Apple-related certificates. After I did this, I was able to view my account in the App Store app instead of seeing the "Cannot Connect to App Store" message. I was also able to add my Apple Pay card to the system again (this was not working before).


I'm still not able to install apps from the App Store, but that may be a separate issue.

Sep 29, 2018 10:17 AM in response to joelw135

Yes, a number of people in the thread have reported this to Apple. I've been back and forth with Support and their Engineering team and have found a partial solution to a problem that I was having (High Sierra App Store co-existing with the Mojave App Store, in a folder called "Previous Content"):


  • The folder couldn't be deleted, so I rebooted into Restore mode (command-R while starting up).
  • From the Utilities menu, I opened Terminal and disabled System Integrity Protection by typing the following in the window:
  • csrutil disable
  • Then pressing enter.
  • Rebooting allowed me to delete the previous version of the App Store along with Safari, etc.
  • Rebooting again, after deleting and emptying the Trash, restored some of the panes in the App Store:

User uploaded file

Sadly, though, I still can't connect to the App Store.


So, perhaps partway to a solution but not there yet. I'll update as soon as a solution is found, if I find one.


SIP can be restored using the same process but with the command csrutil enable, FYI.

Oct 1, 2018 9:03 AM in response to Exxplora2

Little Snitch (my third party network filter) issued an app update today that correct the problem with the app store invalid code signature. After restarting both my mac and the app store app, my ability to connect to the app store has been restored. I'm a happy camper again!


I hope everyone struggling with a different app store issue than mine find an equally quick fix.

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.