Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode: No signing certificate

I downloaded an Xcode project from this webpage, but when I try to build it, I get this error:

error: No signing certificate "Mac Development" found: 
No "Mac Development" signing certificate matching team ID "QWY4LRW926" with a private key was found. (in target 'BasicPDFViewer')

I've tried to match the Signing options in Build Settings to match those in my own projects, but to no avail.

enter image description here

I presume the problem is because Xocde is trying to find the Team certificate of the project originator on my Mac. I've tried adding my own Apple ID to Xcode's accounts and creating a Mac Development certificate, but that doesn't help either.

A similar question has been asked, but with no answer that is comprehensible, credible or canonical.

like image 701
benwiggy Avatar asked Dec 30 '25 05:12

benwiggy


1 Answers

I had the same problem and I found the solution:

  1. Open your project in Xcode.
  2. Go to the "Build Settings" tab.
  3. Under the "Signing" section:
    • Set "Code Signing Identity" to "Sign to run locally".
    • Find "Code Signing Style" and change it to "Manual".

Alternately, you may edit the .pbxproj file for your project directly and add a build flag for CODE_SIGN_IDENTITY, with a value of ""; and it should work for local signing.

like image 197
BotaGuy Avatar answered Jan 04 '26 18:01

BotaGuy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!