Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code Signing error,iOS9 [duplicate]

I have been really sick and tired of this. I have done all the possible way to resolve this. But not getting the success. My SWIFT code is working fine on simulator . But when I try to run it on device or try to make an archive , I get this compilation error

 Couldn't codesign /Users/SandeepHoney/Library/Developer/Xcode/DerivedData/SocialCircle-advannpwpzlrtleupycqgmvugcst/Build/Products/Debug-iphoneos/SocialCircle.app/Frameworks/libswiftCoreLocation.dylib: codesign failed with exit code 1

I have tried to re-generate provisioning profiles. but that thing isn't even working. I have followed this. But not working.. Don't know where I am doing wrong.

like image 338
Arun Kumar Avatar asked Mar 13 '23 06:03

Arun Kumar


1 Answers

The issue is because of Apple WWDRCA expired at Feb 14, 2016.

to resolve this

  • go to your Keychain Access, and in the menu

  • click View - - > Show Expired Certificates.

delete the expired Apple Worldwide Developer Relations Certificate Authority from both the login and System Keychains.

  • under System you can see like your certificate is expired

enter image description here

  • Install the renewed certificate from Apple by downloading and double click it.

    Your keychain should show like that

  • restart your xcode

  • Clean your project and Build

like image 74
Anbu.Karthik Avatar answered Mar 15 '23 23:03

Anbu.Karthik