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
504
votes
16 answers

Codesign error: Provisioning profile cannot be found after deleting expired profile

Tried to rebuild an app that was working just yesterday. Got a message that a profile had expired, so I removed it from the iPod and from iTunes. When I chose a new profile (one with an * in the identifier), I now get an error: Code Sign Error:…
quantumpotato
  • 9,637
  • 14
  • 70
  • 146
449
votes
33 answers

Codesign wants to access key "access" in your keychain, I put in my login password but keeps asking me

I'm trying to learn to load apps on my iPhone from Xcode. When I do I keep getting "Codesign wants to access key "access" in your keychain, I put I my login password but it keeps popping up over and over. I've tried my computer login so many…
Tim Kruger
  • 4,521
  • 2
  • 9
  • 6
227
votes
21 answers

missing private key in the distribution certificate on keychain

I have the following problem which I could not find a solution for anywhere. Basically, we have a company developer account (not enterprise) and so in order to submit our app, I requested from our team lead to send me the distribution certificate…
moshikafya
  • 3,190
  • 5
  • 22
  • 27
154
votes
12 answers

Re-sign IPA (iPhone)

I currently build all my applications with hudson using xcodebuild followed by a xcrun without any problems I've received a couple of IPA files from different people that I would like to re-sign with a enterprise account instead of the corporate…
Erik
  • 5,791
  • 5
  • 30
  • 45
154
votes
18 answers

Error when trying to obtain a certificate: The specified item could not be found in the keychain

I was having a problem with codesigning my apps, so I deleted all the keys from the keychain. Then I went to Certificate Assistant => Request a certificate from a Certificate Authority (to create CSR for a new certificate). So enter my email address…
Sergey
  • 47,222
  • 25
  • 87
  • 129
82
votes
4 answers

How do you codesign framework bundles for the Mac App Store?

After a recent submission I have gotten the following error: Invalid Signature - the nested app bundle (FooBar.app/Contents/Frameworks/GData.framework) is not signed, the signature is invalid, or it is not signed with an Apple submission…
csexton
  • 24,061
  • 15
  • 54
  • 57
81
votes
8 answers

security / codesign in Sierra: Keychain ignores access control settings and UI-prompts for permission

Starting with macOS Sierra, I can't import a codesign-identity into a keychain with /usr/bin/security any more without usr/bin/codesign UI-prompting for access when using this identity. This breaks the packaging scripts of build server. There seems…
Sven Driemecker
  • 3,421
  • 1
  • 20
  • 22
75
votes
5 answers

Building iOS applications using xcodebuild without codesign

We're building an app for another company. They hold the signing key and would rather not share it with us. It should be possible to separate build and sign, but how do I specify it on xcodebuild's command line?
noamtm
  • 12,435
  • 15
  • 71
  • 107
63
votes
43 answers

Command /usr/bin/codesign failed with exit code 1

I have the following error: Command /usr/bin/codesign failed with exit code 1 Here is what I already did for trying to fix this: set the bundle identifier to com.server.pgmname set the code signing to "Any Iphone OS Device" set the Code Signing…
Daniel
  • 1,179
  • 4
  • 18
  • 31
61
votes
1 answer

Determining codesigning identities from the command line?

I'm trying to set up an automated way to sign my iOS apps. Before using codesign, is there a way to programmatically determine from the command line what my valid signing identities are? For example, for the command codesign -v --sign "iPhone…
Matt Blackmon
  • 1,246
  • 1
  • 11
  • 19
61
votes
5 answers

How can I skip code signing for development builds in Xcode?

Whenever I build my Xcode project, after compiling all my code, it takes forever to finish "signing product." (I believe it's because the project includes about 200 MB of resources that need signing.) I would like to skip the code signing during…
tbodt
  • 16,609
  • 6
  • 58
  • 83
60
votes
26 answers

command/usr/bin/codesign failed with exit code 1- code sign error

I'm currently in the process of submitting my first app to the Apple store. I've completed the following processes Obtained a developer account Logged into the Member Center to Create an App ID Used keychain access to request and receive a…
LeleMarieC
  • 731
  • 1
  • 6
  • 9
50
votes
2 answers

code signature in (/xxxxx) not valid for use in process using Library Validation

I'm trying to build proxychains with xcode 8. When I run a program I got: /usr/local/homebrew/Cellar/proxychains-ng/4.11/lib/libproxychains4.dylib: code signing blocked mmap() of…
daisy
  • 22,498
  • 29
  • 129
  • 265
40
votes
3 answers

Codesign returned 1 (object ifile format invalid or unsuitable) bug

I'm working with Xcode 4.1 build 4B110f trying to get my iOS app ready for upload. It passes the Product|Archive step with no errors, asking twice for permission to sign something. But when I try a validate of the archive from the Organizer, it…
RonC
  • 855
  • 1
  • 8
  • 16
40
votes
1 answer

Xcode won't let to build for Device after denying Codesign to access Keychain

I'm new to iOS development and today I tried to check my app on my iPhone and tried to build it for the device. So when I clicked on build, it asked to type my password to let codesign to access keychain. But after few attempts, I accidentally…
Samitha Nanayakkara
  • 2,529
  • 2
  • 10
  • 23
1
2 3
38 39