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
38
votes
17 answers

iPhone Codesign object file format invalid or unsuitable

I accidentally deleted my target in xcode. so i created a new one with the exact same name. in the target settings i again selected the proper codesigning identity but now i can't compile for the device anymore. as soon as i want to build, i…
Mat
  • 505
  • 1
  • 5
  • 7
35
votes
5 answers

Xcode Build Error Jenkins: Your session has expired. Please log in

I'm trying to build my application using jenkins pipeline using shell command. Below is the command i'm using to build the app. sh 'xcodebuild -workspace projectname.xcworkspace - allowProvisioningUpdates -scheme projectname_UAT -sdk iphoneos -…
33
votes
7 answers

Is there any way to get key hash from signed APK?

Is there any way to get key hash from signed APK? We have a signed Android apk file, and we want to find out key hash of this APK, for Facebook SDK. Can we do that by something like jarsigner?Any suggestions?
Zheng Li
  • 333
  • 1
  • 3
  • 6
32
votes
17 answers

Xcode 4.3: Codesign operation failed (Check that the identity you selected is valid)

After installing Xcode 4.3 I can't validate and distribute application using Organizer. While building, signing and validating in Xcode is OK, the validation in Organizer fails with the message in the title of this question. First, Xcode 4.3 can…
i4niac
  • 1,684
  • 1
  • 17
  • 20
32
votes
2 answers

Xcode 9 distribution build fails because format of exportOptions.plist has changed in new release

I am trying to compile an ad-hoc IPA for my app using SDK version 6.1.2 and Xcode 9 beta (trying to see if the app works in the new version). My build is failing with the following error message: Error Domain=IDEProvisioningErrorDomain Code=9…
tutiplain
  • 1,427
  • 4
  • 19
  • 37
30
votes
2 answers

Remove private key from Mac OS X keychain using Terminal

I've imported a developer identity (certificate + private key) for iOS development to a keychain using the "security" Terminal application with the command security import identity.p12 -k -P This imports both items included…
Benjamin
  • 830
  • 1
  • 8
  • 16
26
votes
2 answers

Notarizing Electron apps throws - "You must first sign the relevant contracts online. (1048)" error

I am trying to Notarize an electron app to make it run on macOS Catalina. The packaging was successful but the xcrun altool command is throwing "You must first sign the relevant contracts online. (1048)" error. Electron app package.json…
Ganesh Rathinavel
  • 1,243
  • 4
  • 17
  • 38
23
votes
3 answers

codesign "The operation was cancelled by the user"

For some reason, whenever I try to codesign in xcode, I am getting this error (path to app): The operation was cancelled by the user. Command /usr/bin/codesign failed with exit code 1
Bob Bobbio
  • 577
  • 2
  • 5
  • 10
21
votes
3 answers

iOS codesigning specs

I want to create a tool for codesigning iOS apps on a linux server remotely. I know codesign is oss but relies heavily on the keychain and is not as portable. I know Adobe has a codesign utility for win and mac within flash that takes the…
drunknbass
  • 1,662
  • 1
  • 13
  • 19
21
votes
1 answer

Retrieve certificate expiration date from an .ipa file?

I know how to view the expiration date of an .ipa file's provisioning profile (by renaming the ipa to zip, then unzip it and view the ExpirationDate key in the embedded.mobileprovisioning file). But how can I view the expiration date of the…
Strille
  • 5,741
  • 2
  • 26
  • 40
21
votes
6 answers

Xcode, Codesign Error from Jenkins / SSH - "User Interaction is not allowed"

I am trying to run an automated xcodebuild on Jenkins, but I am running into the error User interaction is not allowed. Command /usr/bin/codesign failed with exit code 1 I have already referenced "User interaction is not allowed" trying to sign an…
reyes20
  • 211
  • 1
  • 2
  • 4
21
votes
3 answers

E79CDDB501B68E74DDF03EA4E75246A7FDF010D0: no identity found Command /usr/bin/codesign failed with exit code 1

I am facing codesign issue. I am using Xcode 6.0.1 and Os x server 3.2.1 E79CDDB501B68E74DDF03EA4E75246A7FDF010D0: no identity found Command /usr/bin/codesign failed with exit code 1 I tried all possible answers which are in Stack Overflow but i am…
aric
  • 211
  • 1
  • 2
  • 5
21
votes
5 answers

xcodebuild - codesign -vvvv says"resource envelope is obsolete"

I've just updated my xcode install to use xcode 6.0.1 in order to start compiling my app for ios8 devices. For some reason I am not able to ever sign the app file correctly that is generated using the following: xcodebuild -project…
Grantism
  • 374
  • 2
  • 3
  • 11
20
votes
5 answers

CodeSign collisions between Developer and Enterprise Distribution

My company uses one build machine (a Mac Mini) as a CI node to build our iOS app. We currently build an Ad-Hoc and an App Store config on the mini. We've recently enrolled in the Enterprise Program and want to start building an Enterprise config as…
kevboh
  • 5,207
  • 5
  • 38
  • 54
19
votes
2 answers

How to upload dmg file for notarization in xcode

I am trying to upload our existing app to apple for notarization. According to the document https://help.apple.com/xcode/mac/current/#/dev88332a81e I have to open the app the xcode archive organizer. We have a dmg file generated from our jenkins…
laocius
  • 772
  • 1
  • 8
  • 21
1
2
3
38 39