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
19
votes
2 answers

How to prevent Xcode 8 from saving "development team" in .pbxproj?

Xcode 8 demands you select a "development team" before you can sign your apps for both iOS and macOS. It wasn't very difficult to figure how to make the selection. (Answer can be found in Add developer team in Xcode 8? in case anyone can't figure it…
msc
  • 1,549
  • 2
  • 12
  • 19
19
votes
2 answers

How can I build a Safari extension package from the command line?

Instead of going to Extension Builder > Build Package…, I'd like to built a .safariextz package from the MyExtension.safariextension folder. I know I can unpack an extension with xar -xf. I suspect the way back involves packing it with xar, but then…
kch
  • 77,385
  • 46
  • 136
  • 148
18
votes
2 answers

How do I verify that a macOS pkg is notarized

How do I verify that a macOS installer pkg file has been notarized? Is there a command-line tool to do this?
craig65535
  • 3,439
  • 1
  • 23
  • 49
18
votes
2 answers

iOS8 Dynamic Frameworks -> CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.3'

I am using the iOS8 Dynamic Frameworks that I build myself and link within my iOS app. It was working fine in the simulator and on device, but when trying to archive a Release build for it, I keep getting this error: Code Sign error: No matching…
Z S
  • 7,039
  • 12
  • 53
  • 105
17
votes
2 answers

How do I resign app with entitlements?

I have an .ipa file which I need to resign. I tried doing it as explained on the objc.io blog: $ codesign -f -s 'iPhone Developer: Thomas Kollbach (7TPNXN7G6K)' Example.app However this is insufficient. When I do codesign I get something like…
Erik Engheim
  • 8,182
  • 4
  • 36
  • 51
17
votes
2 answers

iOS ipa codesign on XCode 6.1 & Yosemite

I was used to sign my app with the following command codesign --resource-rules=ResourceRules.plist -f -s "SIGNER_NAME" MYAPP.app After installing Yosemite and XCode 6.1 it gives the following warning: Warning: --resource-rules has been deprecated in…
Sirio
  • 991
  • 2
  • 12
  • 27
17
votes
3 answers

How to codesign an existing Mac OS X .app file for gatekeeper?

I paid the $99 to get a developer license w/ Apple. Installed Xcode 4.3. Went to the Organizer and "Provisioning Profiles" and refreshed to download my code signing certificate. Checked my Keychain Access and confirmed that I have "3rd Party Mac…
Troy
  • 1,237
  • 2
  • 13
  • 27
16
votes
3 answers

How does Apple's codesign utility decide which SHA algorithm(s) to sign a shared library with?

First, a little background: I'm investigating why my company's MacOS/X application (which by all accounts appears to be correctly signed; it runs fine under MacOS/X 10.11.x and 10.12.x; Gatekeeper is fine with it on all MacOS versions; "spctl…
Jeremy Friesner
  • 70,199
  • 15
  • 131
  • 234
16
votes
2 answers

Signing OS X app on Windows (without codesign)

I have Windows application that can run on OS X under Wine. For convenience I want to pack the application as OS X app (ZIP archive of xxx.app folder based on WineBottler). Note that the main executable of the app (as defined by CFBundleExecutable…
Martin Prikryl
  • 188,800
  • 56
  • 490
  • 992
15
votes
4 answers

Segmentation fault: 11 when attempting to codesign .app

I haven't been able to find a definition for this error in relation to codesigning. I'm really quite stumped as of what to do. The error occurs when attempting to execute this command line: codesign -s "Developer ID Application: Name (ID)" -fv…
SRG3006
  • 447
  • 8
  • 21
15
votes
8 answers

dyld: Library not loaded. Reason : no suitable image found

I've looked at a bunch of answers here and none have fixed my issue. I have an Xcode workspace with a custom framework and an iOS app project. The project has been working fine until this morning, now it builds but immediately crashes: dyld:…
olynoise
  • 2,016
  • 2
  • 19
  • 32
14
votes
2 answers

Can I sign iOS apps on Linux? (Using maybe a port of codesign?)

I'd like to sign my iOS apps on a Linux box (Debian 5 if it matters). Does anyone know if this is possible? (Let's not get into why I'd want to do this since it's specific to my environment.) I see source code to codesign on Apple's site but before…
DaveBurns
  • 2,036
  • 2
  • 27
  • 37
14
votes
3 answers

CLI: Switch keychains in order to sign an xcodebuild

I am trying to switch on a certain keychain, and close another one. I need this because our enterprise & appstore identities are called the same. Right now, I do a "security unlock-keychain" followed by a "security default-keychain" to open the…
Tycho Pandelaar
  • 7,367
  • 8
  • 44
  • 70
14
votes
4 answers

Add codesign to private key ACL without Keychain

I'm trying to set up continuous builds/integration for a stable of iPhone apps. I have: A dedicated Mac Mini. A user account named "build" Hudson set up as a LaunchAgent for build, by dropping a plist in /Users/build/Library/LaunchAgents Tried as…
David Boike
  • 18,545
  • 7
  • 59
  • 94
14
votes
3 answers

How to undo codesign?

In an attempt to codesign gdb, I used an incorrect certificate, so now gdb is codesigned but does not work as expected. I attempted to codesign gdb using the correct certificate, however codesign complains that gdb is already signed. So how to undo…
user972946
1 2
3
38 39