codesign

I'm looking for a Code Signing Tutorial for the iPhone SDK. [closed]

人盡茶涼 提交于 2019-12-10 12:09:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm having trouble understanding the apple tutorial on codesigning. I'm looking for a simpler explanation. http://developer.apple.com/mac/library/documentation/Security/Conceptual/CodeSigningGuide/Introduction/Introduction.html Thnx !!! 回答1: I got this video for free during a promo and it's great. Normally $5,

OTHER_CODE_SIGN_FLAGS keychain flag ignored?

筅森魡賤 提交于 2019-12-09 11:49:34
问题 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 this: #!/bin/bash TARGET="MyProject" CONFIGURATION="Release" SDK="iphoneos" IDENTITY="iPhone Developer: John Doe (XX22RR22O)" KEYCHAIN="/Users/username/Library/Keychains/someKeyChain.keychain" PASSWORD="" security unlock-keychain -p ${PASSWORD} ${KEYCHAIN}

Xcode does not see my developer certificate in Code Signing Identity

瘦欲@ 提交于 2019-12-09 09:25:11
问题 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 Teams and Provisioning Profiles section in Organizer but in Xcode under Code Signing Identity there is no profile currently match developer profile under Automatic Profile Selector(Recommended). What can i do about it? thanks in advance. 回答1: First

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

≯℡__Kan透↙ 提交于 2019-12-09 06:07:35
问题 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 is a 3rd-party program from the internet and which doesn't have a codesign, also it has not been enabled the hardened runtime. On the latest MacOS Mojave I have to notarize applications to avoid the gatekeeper shows warnings during the user opens

iOS codesign verification failed while upgrading to OS X 10.9.5

▼魔方 西西 提交于 2019-12-08 06:44:39
问题 According to my Jenkins building log, I was sure that the following raised while my OS X upgraded to 10.9.5. + /usr/bin/codesign --verify -vvvv /Users/dobbymini/jenkins/workspace/DobbyBuild/build/Archive.xcarchive/Products/Applications/Dobby.app Program /usr/bin/codesign returned 1 : [/Users/dobbymini/jenkins/workspace/DobbyBuild/build/Archive.xcarchive/Products/Applications/Dobby.app: resource envelope is obsolete ] Codesign check fails : /Users/dobbymini/jenkins/workspace/DobbyBuild/build

codesign: unrecognized option `--entitlements'

非 Y 不嫁゛ 提交于 2019-12-08 05:57:18
问题 I get this codesign error when i build the application codesign: unrecognized option `--entitlements' Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign codesign -v [-v*] [-R testreq] path|pid ... # verify codesign -d [options] path ... # display contents codesign -h pid ... # display hosting paths codesign: unrecognized option `--entitlements' Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign Build failed (1 error) Can anyone

IOS - How to resign an ipa file?

妖精的绣舞 提交于 2019-12-08 02:58:07
问题 I try to resign an .ipa file but I have some problems. I archived the project and exported it for Ad Hoc Deployment then I followed this tutorial: https://sholtz9421.wordpress.com/2012/06/08/digitally-resigning-ipa/ . During installation I had this error: "Application is missing the application-identifier entitlement." so I created an "entitlements.plist" file and I tried to resign with the argument --entitlements codesign -f -v -s "MyIdentity" Payload/SampleApp.app --entitlements

codesign: unrecognized option `--entitlements'

不想你离开。 提交于 2019-12-06 17:44:34
I get this codesign error when i build the application codesign: unrecognized option `--entitlements' Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign codesign -v [-v*] [-R testreq] path|pid ... # verify codesign -d [options] path ... # display contents codesign -h pid ... # display hosting paths codesign: unrecognized option `--entitlements' Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign Build failed (1 error) Can anyone please help me to resolve it I've never seen that one before but it suggests that something is broken in

Where does codesign store the signature for a signed text file on OSX?

限于喜欢 提交于 2019-12-06 07:47:21
问题 I have a simple app bundle with the following structure: myapp.app/Contents/ myapp.app/Contents/MacOS/myapp myapp.app/Contents/Resources/empty.lproj myapp.app/Contents/Info.plist myapp.app/Contents/PkgInfo If I execute codesign -s "Developer ID" myapp.app/Contents/Info.plist I can check that the file got signed with codesign -d -v myapp.app/Contents/Info.plist which gives the following output Executable=/pathToApp/quicknanobrowser.app/Contents/Info.plist Identifier=Info Format=generic

Codesign only succeeds after other xcode iphone project is successfully signed

余生颓废 提交于 2019-12-06 06:11:27
问题 I have a weird issue. Codesign refuses to sign this big project I have, project A, but does signs the other, project B. However, when I have signed project B, it also can sign project A all of a sudden. I am 100% certain I didn't change anything else. The steps I took were: Try to build, sign A - fails on signing Try to build, sign B - succeeds Try to build, sign A - succeeds Transcript: CodeSign build/Debug-iphoneos/CPPlayer.app cd /Users/nick/CPPlayer setenv CODESIGN_ALLOCATE /Developer