Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Mysterious "cryptographic verification failure" error on macOS Sierra, Xcode 8

I have just updated and right away getting this error:

"error: A cryptographic verification failure has occurred."

Any ideas?

Edit: I have iOS 10

like image 476
Leif Avatar asked Jun 15 '16 15:06

Leif


1 Answers

Simple solution:-

How I did [Working for me]

Step 1:- Go to this folder - from your finder press option Go - > Go to Folder

then type your project path like this example:- Library/Developer/Xcode/DerivedData/yourprojectname/Build/Products/Debug-iphoneos

Now you can see a window pop with list of available File, There you see yourApp.app file [ Don't do anything just wait for step 2].

Step 2:- Open new Terminal and type just cd then just drag step 1 yourApp.app to terminal, now you will get the path for the app, now press enter button.

Step 3:- Now type this command **

xattr -rc .

Don't miss "."(Dot) press enter button.

That's it, Go to your Xcode project and clean and run again.

like image 149
Abdul Nasir B A Avatar answered Nov 10 '22 23:11

Abdul Nasir B A