Questions tagged [codesign]

In iPhone development codesign deals with Provisioning Profiles, App Developer Certificate and device UDID.

In iPhone development codesign deals with Provisioning Profiles, App Developer Certificate and device UDID.

How to use code sign

enter image description here

574 questions
13
votes
0 answers

How to unlock system keychain in OS X using terminal

I have private key and certificate in system keychain and I want to access it using CodeSign so it needs to be unlocked. if I try to unlock login keychain using below script then no problem security unlock-keychain -p password login.keychain But…
Durai Amuthan.H
  • 31,670
  • 10
  • 160
  • 241
13
votes
2 answers

How to obtain codesigned application certificate info

I am having a tough time finding an answer to my codesigning issues. We have an application for Mac OS written under Cocoa. Finally - we did our codesigning, but i would like to add an extra security check - within the executable itself. My idea is…
Martin Kovachev
  • 442
  • 4
  • 18
12
votes
4 answers

Sign a Word VBA project/file via command line or other form of automation

Is there a way to automate code signing a VBA project in a Word 2003 and/or Word 2007 document? By automate I mean via a command line utility or via Word VBA automation? Motivation: I would like to code sign several Word templates as part of an…
Malcolm
  • 5,125
  • 10
  • 52
  • 75
12
votes
2 answers

Xcode does not see my developer certificate in Code Signing Identity

I renewed my IOS Developer Certificate, i deleted old ones from keychains and clicked on my certificate. Everything looks normal in keychains, i have distribution,developer, WWDC certificates in there.Every profile look valid with green marks Under…
Yucel Bayram
  • 1,653
  • 2
  • 22
  • 41
12
votes
3 answers

Resolving codesign certificate ambiguity with multiple developer certificates

I recently did some work for another company, building an iPhone app for them. As I split development time between their offices, using their computers, and my office, I generated a key and had it signed as part of their iPhone Dev Center "team." I…
Steve Madsen
  • 13,465
  • 4
  • 49
  • 67
12
votes
5 answers

Using a non-default keychain in Xcode

How can I use a non-default keychain in Xcode iPhone project. I have already tried '--keychain mycerts.keychain' in 'Other Code Signing Flags' in 'Code signing' build settings.
notnoop
  • 58,763
  • 21
  • 123
  • 144
11
votes
1 answer

Codesign failed on 10.12 Sierra

Just installed 10.12 and Xcode 8 codesign command fails even from terminal with A cryptographic verification failure has occurred. and no further details. Any solutions?
Marcus
  • 512
  • 1
  • 7
  • 22
11
votes
1 answer

iPhone: Compressing .app files in command line (Mac OS X) removes CodeSigning

I am trying to do a simple build automation of my iPhone apps with TeamCity, but having this nagging issue.. When I manually pickup and install .app file from the build folder it works great (syncs smoothly with iTunes and I can see the app on my…
Santthosh
  • 1,083
  • 1
  • 12
  • 30
11
votes
4 answers

osx 10.9.5 code signing V2 - signing a framework with: bundle format is ambiguous

I'am trying to code sign an app bundle on osx mavericks 10.9.5 with format v2. On previous testing the signing on 10.9.5 (13F12) all went well, all frameworks could be signed without error. Now, on 13F34, the frameworks could not be signed any more.…
Peter
  • 111
  • 1
  • 4
10
votes
1 answer

Getting Code Signature Invalid when opening signed electron app

I'm dealing with this issue for almost two weeks. When I build my electron app in a DMG file, everything works perfect, but when I try to build the app in pkg format to upload to AppStore, I get the following error when opening: EXC_CRASH (SIGKILL…
Faabass
  • 1,394
  • 8
  • 29
  • 58
10
votes
2 answers

How to codesign and enable the hardened runtime for a 3rd-party CLI on Xcode?

My project needs the Ghostscript to do lots of tasks, so I have added the gs CLI tool into my project resource. However when I tried to notarize the project application, Xcode shows me this: I assume that might because the ghostscript portable CLI…
SuperBerry
  • 1,193
  • 1
  • 12
  • 28
10
votes
7 answers

App dies on startup but not crash report

I've given an ad hoc version of my app to some users. Two of them have the app die on start up while one user has no issues. I can also install the ad hoc without issue...but that is always the case for me. One user sent the info below from the…
user230949
  • 1,109
  • 2
  • 16
  • 22
10
votes
1 answer

Xcode 5 doesn't let me export unsigned cocoa application

When I try to export a cocoa application in XCode 5 GM (which probably isn't anymore under NDA, if it is it will be off tomorrow) doesn't give me the option to export an unsigned application as it did in xcode 4.6 < When I pick up an archive and…
superandrew
  • 1,741
  • 19
  • 35
10
votes
2 answers

Codesign .app file in Command Line

I am trying to submit the Mac app outside the app store. I take the build from Xcode 4.5 and use the following code for code-signing. But neither of them are working. codesign --force -s "3rd Party Mac Developer Application: My Company" -v
Ramaraj T
  • 5,184
  • 4
  • 35
  • 68
9
votes
7 answers

Unable to find code signature authority on Mac OS Monterey

I'm updating my question here, at the top, so anyone reading will encounter the latest unresolved issue first. I was hasty in updating my question in response to Alex Narvey's advice. The result of: bash3.2/Users/jnorris$ codesign -dv --verbose=4…
P. James Norris
  • 158
  • 2
  • 14