Mysterious “cryptographic verification failure” error on macOS Sierra, Xcode 8

前端 未结 3 1530
执念已碎
执念已碎 2021-01-12 23:29

I have just updated and right away getting this error:

"error: A cryptographic verification failure has occurred."

Any ide

相关标签:
3条回答
  • 2021-01-13 00:00

    Many people are having code signing errors with the first beta of Xcode 8. I would recommend using Xcode 7.3 until the next beta comes out.

    0 讨论(0)
  • 2021-01-13 00:03

    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.

    0 讨论(0)
  • 2021-01-13 00:11

    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 {} \;

    0 讨论(0)
提交回复
热议问题