简体   繁体   中英

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

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.

许多人在使用 Xcode 8 的第一个测试版时遇到代码签名错误。我建议在下一个测试版发布之前使用 Xcode 7.3。

From your project's root folder:

 find . -type f -name '*.jpeg' -exec xattr -c {} \\; find . -type f -name '*.jpg' -exec xattr -c {} \\; find . -type f -name '*.png' -exec xattr -c {} \\; find . -type f -name '*.json' -exec xattr -c {} \\;

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM