Search results for

codesign

3,113 results found

Post

Replies

Boosts

Views

Activity

Reply to Invalid Code Signing Entitlements
In which folder should the provisioning profile be located?The entitlements are baked into the code signature. You can dump them using:$ codesign -d --entitlements :- /path/to/your.appIf the app has embedded code (like a helper tool, a framework, or an extension), you should check the entitlements of those separately.Keep in mind that the provisioning profile is just one input into the code signing machinery, and the output of that machinery includes these entitlements. IMO it’s best to start by looking at the output and working back from there. I recently posted about this in a different context, but there’s also formal documentation on the subject in the form of Technote 2415 Entitlements Troubleshooting.Share and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Code Signing SubTopic: General Tags:
Dec ’15
Reply to Invalid Code Signing Entitlements
Hi Quinn,Thanks for your help. Using codesign --d --entitlements gives the following output:<?xml version=1.0 encoding=UTF-8?> <!DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd> <plist version=1.0> <dict> <key>com.apple.application-identifier</key> <string>[ID].org.[COMPANY].[GAMENAME]</string> <key>com.apple.developer.game-center</key> <true/> <key>com.apple.security.app-sandbox</key> <true/> <key>com.apple.security.network.client</key> <true/> </dict> </plist>Which, as far as I can tell, is exactly what it should be. I've checked all the other frameworks, etc. inside the bundle and they are all giving the same output.Thank you for posting links to the documentation. I've had a read through, but they mostly concern dealing with problems if the above output isn't correct. As far as I can tell, it is. Am I missing anything? Can you think of a
Topic: Code Signing SubTopic: General Tags:
Dec ’15
Codesign using Developer ID Application certificate
Hi,we are developing a C++ application, compiled with clang. We need to sign it, so user's machine won't complain about unknown developer.The problem is, that the certificate, that I downloaded here from the Certificates page, do not contain a private key. Therefore codesign would say no identity found, and he's right.Before getting here, we tried singing using Thawte certificate supposed to be good for signing of mac application. The signing process itself worked, but the certificate itself was not recognized by the guard application. I found out, it's because of some other certificate authorities, and that zoner wasn't probably right, that this certificate oculd be used for this purpose...So I downloaded Developer ID Application certificate from the Member Center, hoping this would be better.My suprise was, that it is not even as good as it was with the thawte one..The difference there is between the Developer ID Application cert and the thawte one (technicaly speaking) is the lack of private key i
1
0
3.4k
Dec ’15
Reply to how to sign my kext.
I solved create Developer ID problem, cause only team agent can create Developer ID.My acount is admin permission, so that will always not display the option in website. So I asking my colleague who has agent to create kext-enable Developer ID. But it build fails with kext-enable Developer ID. Error message:timestamps differ by 808 seconds - check your system clock Command /usr/bin/codesign failed with exit code 1Somebody help, please.
Topic: App & System Services SubTopic: Core OS Tags:
Dec ’15
Xcode Server cert integration issues
Tried to dust one of many broken xcode server integrations. Some simulators work (for some reason it lists 7.x simulators in the bot selector which will cause build errors if selected).Now trying to get devices to work and I can't quite figure out how to get the thing to add itself to my developer team. I've tried removed/re-adding and re-logging into my developer account via the Server/Xcode UI about a dozen times to no avail. Finally, after some snooping throughout the system error logs, I finally stumbled across this in the system.log file:Jan 5 15:05:58 xxxx xcscontrol[1451]: DeveloperPortal: Completed request A66685F6-1C96-4270-B303-3E05A9CD1A20 (failure): { <....> DTDK_Platform = ios; resultString = Unable to find a team with the given Team ID 'Z92ECXXXXX' to which you belong. Please contact Apple Developer Program Support.nhttps://developer.apple.com/support; <....>The UI silently fails with the above log message when I try to add my account in the Xcode teams UI in Server. I'm puzzled as w
0
0
312
Jan ’16
Xcodebuild codesign error
HI ^ ^I got code signerror when I build a project by Xcodebuild....But My app is well-installed and run on iPad...I typed as below.. xcodebuild -target TwitiPad-New -scheme TwitiiPadNew -configuration Debug -sdk iphonesimulatorProject name is TwitiPad, TwitiPad-New is target name, TwitiPadNew is scheme name ...and I got message as below..=== BUILD TARGET TwitiPad OF PROJECT TwitiPad WITH CONFIGURATION Debug ===Check dependenciesCode Sign error: No matching provisioning profiles found: No provisioning profiles with a valid signing identity (i.e. certificate and private key pair) were found.** BUILD FAILED **what is problem..?how to fix this ?
0
0
676
Jan ’16
Reply to iOS manually built framework fails when installing app with Application Signature Not Valid
Hi Jeremy,My apologies for the delayed response.Here are the codesign outcomes (with associated commands):App:$ codesign -vvv /Users/indigo/Library/Developer/Xcode/DerivedData/LibraryTesting-azmocmdalqwlfochyihtxugfcdhs/Build/Products/Debug-iphoneos/LibraryTesting.app /Users/indigo/Library/Developer/Xcode/DerivedData/LibraryTesting-azmocmdalqwlfochyihtxugfcdhs/Build/Products/Debug-iphoneos/LibraryTesting.app: valid on disk /Users/indigo/Library/Developer/Xcode/DerivedData/LibraryTesting-azmocmdalqwlfochyihtxugfcdhs/Build/Products/Debug-iphoneos/LibraryTesting.app: satisfies its Designated RequirementFramework in app:$ codesign -vvv /Users/indigo/Library/Developer/Xcode/DerivedData/LibraryTesting-azmocmdalqwlfochyihtxugfcdhs/Build/Products/Debug-iphoneos/LibraryTesting.app/Frameworks/Company.framework/ /Users/indigo/Library/Developer/Xcode/DerivedData/LibraryTesting-azmocmdalqwlfochyihtxugfcdhs/Build/Products/Debug-iphoneos/LibraryTesting.app/Frameworks/Company.framework/: valid on d
Jan ’16
codesign passes, spctl passes, but won't launch
I've got an app that has to be build on an older version of the OS, but I codesign on 10.11 (or 10.10) to make it happy with the new version of the signatures. The app does not go to the app store but is distributed directly from my website.On my 10.11.3 machine, I run the codesign:codesign --deep --force -s Developer ID Application: MY_NAME --verbose=2 MyApp.app/MyApp.app/: replacing existing signatureMyApp.app/: signed bundle with Mach-O thin (i386) [com.yadda.yadda]All good well. I then check it:codesign --verify --deep --verbose=4 --strict MyApp.app/MyApp.app/: valid on diskMyApp.app/: satisfies its Designated Requirementspctl --verbose=4 --assess --type execute MyApp.app/MyApp.app/: acceptedsource=Developer IDAll seems good there, right? Yet, double-clicking on it gives the dreaded unidentified developer error message. Any ideas?Craig
2
0
1.7k
Jan ’16
Reply to Keychain error -34018 (errSecMissingEntitlement)
Same here. iPhone 6, iOS 9.2 (13C75), using Alamofire and AlamofireImage. I’m working in Swift, with a Keychain struct I created myself.After three or four retrievals (it’s pretty consistent), SecItemCopyMatching returns -34018. (See Keychain.password(), below; the error hits at the call to SecItemCopyMatching().) Resetting the password during the run of the app does not help; killing and restarting it clears the error for another three or four cycles, which I don’t have to say is unacceptable. The stored password is still there; Keychain.password() returns it as expected. The bug manifests even if no other SecItem* call is made.(I see I don’t release returnPointer in that func; I’ll correct that in my own copy. I don’t think it should affect the bug, it’s just an 8-byte leak. I’m leaving the fix out of this listing to preserve my example.)I use the password by embedding a hash in the body of my transactions. (I use POSTs or PUTs, even in cases that would ordinarily use GETs.) I don’t claim this is what an ex
Topic: Privacy & Security SubTopic: General Tags:
Jan ’16
No codesigning identities (i.e. certificate and private key pairs) ...
Ever since I joined more than 1 team, I am experiencing signing issues.From my own personal team, I am able to sign my own projects ok, but when trying to upload or validate even those, I am getting:Xcode 6 App Store submission fails with “Your account already has a valid iOS distribution certificate”For the other teams, that I am on, and in one case an admin, I get this when I just try to build an archive in XCode:Code Sign error: No codesigning identities found: No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“Otezla PsO”) were found.Even using Airsign, to resign apps, it has never worked to resign an app. 1. In order to support othe teams, I am suspecting that my keytool does not have the proper passwords in it for the certs, how can I verify that (for all teams) ?2. How does one manage multiple teams properly without these issues ?Thanks - payment will be made with cookies.
1
0
4.1k
Jan ’16