Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave > https://support.apple.com/macos/mojave

Question:

Question: 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

Reply

Page content loaded

Oct 2, 2018 7:04 AM in response to cmeid In response to cmeid

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!

Oct 2, 2018 7:04 AM

Reply Helpful (2)

Oct 2, 2018 7:31 AM in response to brianyen0 In response to brianyen0

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 mustknow 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.


Let me know how it goes.

Oct 2, 2018 7:31 AM

Reply Helpful (4)

Oct 2, 2018 2:20 PM in response to parrori1 In response to parrori1

And I have no idea what this means:

sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip

cd "/Library/Security/Trust Settings"

sudo rm *.plist"

Oct 2, 2018 2:20 PM

Reply Helpful

Oct 2, 2018 3:25 PM in response to parrori1 In response to parrori1

Open Terminal (Applications/Utilities) and cut and paste each line, one at a time, into it. Hit Enter. If you're prompted for your password, it's asking for the password you log on to your Mac with, which should have Administrator access.

Oct 2, 2018 3:25 PM

Reply Helpful

Oct 2, 2018 3:34 PM in response to parrori1 In response to parrori1

After you follow the directions in the first part of BocaBoy's post open the terminal located in Applications/Utilities and type or copy and paste each line and press enter after each copy and paste. So you will have copied and pasted three times. Now after the first line is copied and pasted the terminal will ask for your password (the one you use to enter Mac OS) after that it is just copy paste and then when the last line is entered and enter is pressed reboot and all should be working. Below is details.


sudo ditto -ck "Trust Settings" TrustSettingsBackup.zip (Then press enter)

Now enter password

cd "/Library/Security/Trust Settings" (Then press enter)

sudo rm *.plist" (Then Press enter)

Now reboot

Oct 2, 2018 3:34 PM

Reply Helpful

Oct 2, 2018 3:37 PM in response to parrori1 In response to parrori1

Prarrori1, The first line gives you Administrator rights to create a Zip file of Trust Settings, then creates the file. The second command changes the directory (cd) to Library/Security/Trust Settings. The third command gives you Administrator rights to remove any file ending in plist. These are preference files and are regenerated when they are missing. The error appears to be in that file. Apple is asking for it to be deleted so that it can be regenerated with fresh content.


Use Terminal to cut and paste these commands into, one at a time, using Enter after each one. If your password is needed, it will prompt you for it.


Lastly, if you're uncomfortable working at the system level, DON'T DO THIS. Many people in this forum and on this thread are comfortable using Terminal. They also, presumably, have the know-how to recover if they make a mistake. If you're not one of them, I repeat, DON'T DO THIS.


Now that Apple engineering has identified and acknowledged the problem, it will show up in a future release, maybe as early as 10.14.1.

Oct 2, 2018 3:37 PM

Reply Helpful
User profile for user: brianyen0

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