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
9
votes
1 answer

Why would a digitally signed executable be treated as unsigned until viewing certificate details

I'm getting a very odd result when running an executable that has been digitally signed. The executable was signed using signtool.exe using a proper level 2 code signing certificate (not self-generated). Testing on a Windows 7 machine, if i launch…
9
votes
2 answers

Is it possible to resign applications downloaded with iTunes from appstore?

Recently I saw a website that include lots of AppStore applications and they resigned that applications via their Enterprise account and let people to download them directly to their iPhone/iPads. I am wondering how they do this? I had resigned .ipa…
Husein Behboudi Rad
  • 5,434
  • 11
  • 57
  • 115
9
votes
7 answers

codesign_allocate: error: unable to find utility "codesign_allocate", not a developer tool or in PATH

I upgraded my Mac to 10.10.3 and Xcode to 6.3.1 yesterday; today I can't use git, codesign_allocate....and more. `sh: line 1: 18421 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -sdk…
six
  • 115
  • 1
  • 1
  • 7
9
votes
3 answers

codesigned kext But why not load in Yosemite(10.10)

I had a code signing on kext in Yosemite. But kextload is failed. It was version2 codesign. codesign --verify is true. But kextload is failed. Why not load in Yosemite? Here is my log. I have checked with codesign -dvvv ./myKext.kext And It's all…
나승훈
  • 99
  • 1
  • 1
  • 2
9
votes
3 answers

Jenkins vs. Xcode plugin - codesign troubles

I have updated to OS X Yosemite and also Xcode 6.1 (downloaded from the developer site), from this time I have had the problem with the building as in the log file I see the note "Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!".…
zskalnik
  • 705
  • 8
  • 11
9
votes
2 answers

Get the certificate expiration date of an application using codesign on mac?

I'm trying to retrieve the certificate expiration date an application using the codesign command line tool, but I cannot seem to find the date that the certificate will expire. Any ideas?
Nick Bitzer
  • 93
  • 1
  • 3
9
votes
1 answer

What is 'rvm_codesign_identity' and how to set it?

I'm using rvm 1.16.10 (stable) After I did rvm install 1.9.3 --with-gcc=clang it installed 1.9.3 and then shows:'rvm_codesign_identity' is not set, please set it in ~/.rvmrc But.. What is 'rvm_codesign_identity' and how to set it? Thanks in advance.
iceX
  • 443
  • 1
  • 4
  • 11
8
votes
1 answer

Codesign No identity found

I am trying to use Codesign in the Terminal like follows: codesign -f -s "3rd Party Mac Developer Application: asdf" -v "My App.app" But I keep getting this error: 3rd Party Mac Developer Application: asdf: no identity found Any ideas? Basically,…
William Grand
  • 1,033
  • 2
  • 12
  • 24
8
votes
4 answers

OTHER_CODE_SIGN_FLAGS keychain flag ignored?

I have just learned about the possibility to use OTHER_CODE_SIGN_FLAGS to specify the keychain which includes the cert needed for building and signing an app. But unfortunately I cannot get it to work. My script looks something like…
mbogh
  • 1,361
  • 11
  • 28
8
votes
1 answer

Code signing MacOS application without Apple Developer Account

I just finished developing a macOS application. I compressed my application and gave the zip to my friend. Then he said that it is from unknown developer. I don’t want that to show. So I found out that you have to pay 99$ for distrubution. I don’t…
user13818486
8
votes
2 answers

Codesign returned errSecInternalComponent in High Sierra

I tried to codesign using: /usr/bin/codesign -f -s $IDENTITY --keychain $KEYCHAIN --entitlements $ENTITLEMENTS Payload/Test.app But I get an errSecInternalComponent error.
8
votes
0 answers

ignoring mis-configured plug-in at /Path/To/Foo.appex: plug-ins must be sandboxed

I'm getting this message spammed in the console: Additionally, my extension doesn't show up in System Preferences: (no, I'm not developing OneNote) Here are the commands I use to install the extension, each of which claims it succeeded: And here…
Ky -
  • 30,724
  • 51
  • 192
  • 308
8
votes
1 answer

How do I make a Mac App Store app that validates receipts?

I've made an app that validates its receipt using the ValidateStoreReceipt code on GitHub according to the Apple documentation. The docs say to sign your app, make a package (with signing), and then install it via command line. Then run the app, see…
Paul
  • 397
  • 1
  • 11
8
votes
3 answers

Re-signing an IPA that contains a Framework

I'm re-signing an iOS app (using iResign) in order to upload it to the App Store; and as part of this I'm changing the bundle ID. I only have the IPA (not the source code). The app contains a third party framework. The resign appears to go fine; but…
HaemEternal
  • 2,229
  • 6
  • 31
  • 50
8
votes
2 answers

How does Xcode set EXPANDED_CODE_SIGN_IDENTITY?

I started getting a codesign error after a certificate expired. I have an updated certificate and the expired one has been deleted. But somehow, Xcode sets EXPANDED_CODE_SIGN_IDENTITY with the SHA-1 of the expired certificate. Where does it get this…
Todd J.
  • 457
  • 1
  • 5
  • 8