After fresh install ALL Apps from AppStore crash with Namespace CODESIGNING, Code 0x1

Hey all,

first time posting here.

I performed a fresh install of MacOS 10.13.6 (via internet recovery), did not recover any files etc.

Used a Samsung 840 Evo SSD. Before I had a Crucial M500 SSD in use.


Every App I download via AppStore crashes instantly on launch and all have the same issue:


Termination Reason: Namespace CODESIGNING, Code 0x1


I tried to reinstall the OS again without positive result. Only the pre installed Apps like maps etc. work.


I'm far from an expert on those matters, and couldn't find anything similar on the web. Only found people who have issues with one app getting that error. But nothing systemwide like I am experiencing.

So if anyone has a suggestion on how to make my computer properly usable again, I would be delighted!




Nice to know:

I'm on a Macbook with a failed GPU. So I have made following changes to the system (which have worked for the last 5 years or so without an issue). But here are the tweaks I use to keep the System running on the internal graphics.



  • Applied "nvram fa4ce28d-b62f-4c99-9cc3-6815686e30f9:gpu-power-prefs=%01%00%00%00"


  • Moved the /System/Library/Extensions/AMDRadeonX3000.kext to another folder within Library called Extensions-off


  • Load the kext manually after boot with "sudo kextload /System/Library/Extensions-off/AMDRadeonX3000.kext"
    • Usually I had a small sh to automatically do that at boot.






MacBook Pro 15″, macOS 10.13

Posted on Nov 13, 2020 2:11 AM

Reply

Similar questions

42 replies

Nov 18, 2020 3:18 AM in response to der-Josh

I am having the exact same issue. I am not an advanced user, and can see responses about partitioning hard drives ect which i am not prepared to do.

Today, I just had my iMac 27" (late 2009) repaired after the hard drive crashed, so pretty much a brand new machine, working great, but now i can use it for anything i was hoping for! so frustrating.

Nov 18, 2020 11:49 AM in response to Penjax

stephán193


Nov 18, 2020 10:31 AM in response to GrenadeBait

I was introduced a solution that works with some apps. 


Open terminal and type:


sudo codesign —deep -fs - /Applications/Pages.app


After typing -fs - you can drag your desired application. I tried it with pages. While it now opens and gives me the option to either create a new document or open an existing one, it closes again after I chose one of said options. But with some other apps it actually worked.  


https://discussions.apple.com/thread/252030900?answerId=253912973022#253912973022

Nov 19, 2020 2:22 AM in response to der-Josh

Hi mate, I have the exact same issue on a fresh install of High Sierra. Every App Store app crashes on launch. Will Apple still fix this since High Sierra is end of life? It almost seems to be something that's happened after this latest update.


Using MacBook Pro 15" mid-2010 Intel i5. Any advice on if it's something on my end or Apple's would be much appreciated. Thanks.

Nov 20, 2020 5:45 AM in response to GrenadeBait

Same issue for me. iMac 27, late 2009. Fresh re-install in the last 2 weeks, not sure when. HDD erased prior to reinstall. I had been struggling with the reinstall-from-USB as the first reboot after reinstall kept getting me the grey-progress-bar that never gets to the login screen, which is the reason why I attempted a clean reinstall. I once had issues with the GPU, which I resurrected few years ago by baking it (yes, it worked!!), and booting in safe mode after that clean reinstall allowed me to move forward and kept applying all High Sierra security patches up to 2020-006. Since I could only boot in safe mode and had GPU issues in the past, I tried the trick to move the .kext out so they won't get loaded. Bingo! I could now boot in normal mode (with slow graphics, but that is a start).


Then I ran into the issue discussed here. Only one app downloaded from the App Store: MS Remote Desktop. Same error, because of EXC_CRASH (Code Signature Invalid). ok.


Looking at a MBP running Mohave, 2020-005 not yet installed, I ran into something interesting.


On the MBP, running "codesign -d -vvv /Application/Microsoft\ Remote\ Desktop.app" will show

Authority=Apple Mac OS Application Signing

Authority=Apple Worldwide Developer Relations Certification Authority

Authority=Apple Root CA


But running the same on the faulty High Sierra will show this:

Authority=(unavailable)


If the app can't validate to a trusted CA, that is one possible cause of the code signing error. Moving on, looking at KeyChain on High Sierra, "Apple Root CA" is present. However "Apple Worldwide Developer Relations Certification Authority" is missing, while it is present on Mohave. I was hoping that downloading and installing the missing CA from https://www.apple.com/certificateauthority/ on High Sierra would get things to work again. It didn't. codesign still shows unavailable.


Another odd thing. "Apple Mac OS Application Signing" is not found in KeyChain on Mohave. So how does codesign builds the CA trust chain? Does a .app include signer / CA certificates?


If someone has a working High Sierra setup, I would be curious to look at the codesign output of any app installed from the AppStore, so I can see the Authority being listed.

Nov 20, 2020 1:15 PM in response to FrancoisQC

Whew, tough for me to find anything from the App Store, always pictured something like this problem... just wait until your Heart Monitor has to check in to keep functioning!


bd1$ codesign -d -vvv /Applications/Folder\ Sync\ 2.app 

Executable=/Applications/Folder Sync 2.app/Contents/MacOS/Folder Sync 2

Identifier=com.destek.foldersync2

Format=app bundle with Mach-O thin (x86_64)

CodeDirectory v=20500 size=19074 flags=0x10200(kill,runtime) hashes=587+5 location=embedded

Hash type=sha256 size=32

CandidateCDHash sha256=2740f921100e5268a4437b8af54e66bd17cbcdad

Hash choices=sha256

CDHash=2740f921100e5268a4437b8af54e66bd17cbcdad

Signature size=4617

Authority=Apple Mac OS Application Signing

Authority=Apple Worldwide Developer Relations Certification Authority

Authority=Apple Root CA

Info.plist entries=30

TeamIdentifier=TL9AGPNBH9

Runtime Version=10.15.6

Sealed Resources version=2 rules=13 files=26

Internal requirements count=1 size=224

im21:bd1$ 

Nov 20, 2020 2:52 PM in response to JMcsLk

I also reverted to Sierra. Took a little longer but I will use it until a fix comes from Apple for High Sierra, or I get a newer computer.


I didn't bother with making a bootable install though. I just installed the factory OS over the internet that came with the Mac (Shift-Option-Command-R) then downloaded the Sierra disk image and ran the package; it's all automatic from there. This might be easier for some people, but I do recommend making a bootable usb installer in case any more negative changes from Apple are on the way.


BTW gang... I have been working on this issue since November 11 last week, and I noticed that a few days ago the Apple support pages I was using for instructions and installers have changed to these...

https://support.apple.com/en-ca/HT204904

https://support.apple.com/en-us/HT211683

They are still good pages but it's interesting that they changed after the issue started.



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 fresh install ALL Apps from AppStore crash with Namespace CODESIGNING, Code 0x1

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