Search results for

codesign

3,110 results found

Post

Replies

Boosts

Views

Activity

Reply to Sandboxed app won't run
Possibly, but if Gatekeeper was unhappy with your app it should say so, not just cause the app to hang at launch.You can check what code signing and Gatekeeper think of your app with the following commands.$ codesign -vvv --deep /Applications/iTunes.app $ spctl --assess --raw /Applications/iTunes.appNote On 10.11 and later, also pass --strict to codesign. 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:
Jul ’15
.mobileprovision not opening in xcode anyone know why
.mobileprovision not opening in xcode anyone know why, I double click on it after downloading it and nothing happens, I am trying to submit my first app and this is stopping me, also will not allow me to archive the project.this is what I get in xcode when I try to archive: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 (“pong pong”) were found.CodeSign error: code signing is required for product type 'Application' in SDK 'iOS 9.0'
1
0
3.7k
Jul ’15
How dose bitcode works with codesign?
Hello.I am confused about bitcode. I think Code Signing guarantees the executable binary *is not changed* from developer's build. And this will be contract between users and developer. But bitcode says 'Apple produces optimized binary automatically.', it seems to be contradiction.In bitcode context, what dose 'signing' actually means?
9
0
1.5k
Jul ’15
Reply to How dose bitcode works with codesign?
OK, I understand standpoint of Apple.But it sounds bit strange and delicate.If Apple can recompile our binary, it means Apple can inject some unknown code into it. *We* cannot guarantee our executable as it is. This is why I said siging will be contract between users and developer. If Apple's codesigning dose not guarantees it, there must be some other way to do it, I think.
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15
Bad Bundle Executable - valid CFBundleExecutable key
I've created a bundle MyApp.app. I've signed it with codesign, then created a signed package MyApp.pkg using productbuild.Then I've used installer command to test its installation.Both bundle and package, works with no problem in my box.But when I try to upload it to App Store, it returns an error:ERROR ITMS-90259: Bad Bundle Executable. You must include a valid CFBundleExecutable key in your bundle's information property list file.When check the bundle content, I've found the executable: MyApp.app/MacOS/myapp and MyApp.app/MacOS/myapp-bin, while in my Info.plist I found:<key>CFBundleExecutable</key><string>myapp</string>Then it apears its correct!What value should be on CFBundleExcutable is considered valid to upload to App Store? No documentation exists, and errors don't show the answer.
2
0
2.3k
Aug ’15
Which entitlement do I need for NSMetadataQuery
I am querying Spotlight metadata by NSMetadataQuery. As soon as the app is codesigned, I need a specific entitlement to run it .Perhpas some exceptional entitlements like ...com.apple.security.temporary-execption-files.home-relative-path.reasd-onlyHowever , I cannot see any key in Info.plist that meets my requirement.Do I have to contact Apple to get it ? What is the procedure ?
1
0
314
Aug ’15
Xcode 6.4 unable to build any projects
Codesigning libswiftCore.dylib at /Users/steve/Library/Developer/Xcode/DerivedData/Passenger_Party-birhcpgkoghbjldrxppcdrafwukb/Build/Products/Debug-iphoneos/Passenger Party.app/Frameworks /usr/bin/codesign '--force' '--sign' '810DACD3A3BAC1A4B6971AFA9407EC80E858A7E5' '--verbose' '/Users/steve/Library/Developer/Xcode/DerivedData/Passenger_Party-birhcpgkoghbjldrxppcdrafwukb/Build/Products/Debug-iphoneos/Passenger Party.app/Frameworks/libswiftCore.dylib' /Users/steve/Library/Developer/Xcode/DerivedData/Passenger_Party-birhcpgkoghbjldrxppcdrafwukb/Build/Products/Debug-iphoneos/Passenger Party.app/Frameworks/libswiftCore.dylib: replacing existing signature /Users/steve/Library/Developer/Xcode/DerivedData/Passenger_Party-birhcpgkoghbjldrxppcdrafwukb/Build/Products/Debug-iphoneos/Passenger Party.app/Frameworks/libswiftCore.dylib: the codesign_allocate helper tool cannot be found or used *** error: Couldn't codesign /Users/steve/Library/Developer/Xcode/DerivedData/Passenger_Party-birhcpgko
2
0
1.5k
Aug ’15
Reply to KeyChainStore returns 34018 error
Error -34018 is not publicly documented but it translates to errSecMissingEntitlement. There are two causes of this error: build-time entitlement problemsa hard-to-reproduce runtime bugThe second problem is covered by a long-running thread elsewhere on DevForums. However, it sounds like you're hitting this problem every time, in which case you have a build-time problem. Run the following command over the app binary to confirm that it's built with the entitlements you're expecting.$ codesign -d --entitlements :- /path/to/your.appShare and Enjoy — Quinn The Eskimo! Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: Privacy & Security SubTopic: General Tags:
Aug ’15
Reply to Xcode 7 Link Error With Universal Binary
This is definitely new in beta 5; I had no problems linking in beta 4.I don’t think this is related to the framework binary being universal, as I thinned it with lipo and am still getting the same message:% lipo -info /Library/Frameworks/Growl.framework/Growl Non-fat file: /Library/Frameworks/Growl.framework/Growl is architecture: i386Ld /Users/nicholas/Library/Developer/Xcode/DerivedData/Pester-dmqwzzanlsudtshkfhcnikgvqgcr/Build/Products/Debug/Pester.app/Contents/MacOS/Pester normal i386 [...] ld: building for OSX, but linking in object file built for (unknown), file '/Library/Frameworks/Growl.framework/Growl' for architecture i386It looks like somehow the linker is expecting the OS information, not architecture, to be embedded in the binary and not finding it?I also saw some suggestions that this may be related to code signing, so I re-signed the framework but this did not appear to affect anything:% codesign -fvs '[...]' Growl.framework Growl.framework: replacing existing signature Growl.framework
Aug ’15
Reply to Two sign-in dialogs on in-app purchase
You mention a test user. I wonder whether the same issue occurs with a new test user account. The addPayment call should only result in a single presentation of the StoreKit user authentication dialog. The only other StoreKit functions to trigger the presentation of the dialog isrestoreCompletedTransactions andSKReceiptRefreshRequest.I wonder if you can make the same issue happen by using the StoreKitSuite iOSInAppPurchase sample code<https://developer.apple.com/library/ios/samplecode/sc1991/Introduction/Intro.html#//apple_ref/doc/uid/DTS40014726>You can download the sample, set the application bundle ID to that of your app, and insert the in-app purchase identifiers in the productIDs.plist, and set the codesigning to your certificate, then run the sample.rich kubota - rkubota@apple.comdeveloper technical support CoreOS/Hardware/MFI
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’15
Code signing after adding Swift to Watch Extension
I have a project that was originally ObjC, iOS 8, WatchKit 1. It's been upgraded to iOS 9/WatchKit 2. I'm using Xcode 7, beta 5.Everything was running swimmingly until I added a Swift class to the WatchKit Extension. Short description: Xcode is adding the Swift libraries to the extension after code signing, which results in the Watch refusing to run the app.I've confirmed this by running this: codesign --verify --verbose myWatchApp.appwhich returns:/Users/myname/Library/Developer/Xcode/DerivedData/myApp-eznjrdjylikczqbwuajqlktierch/Build/Products/Debug-iphoneos/myApp.app/Watch/myApp Watch App.app: a sealed resource is missing or invalid file modified: /Users/myname/Library/Developer/Xcode/DerivedData/myApp-eznjrdjylikczqbwuajqlktierch/Build/Products/Debug-iphoneos/myApp.app/Watch/myApp Watch App.app/Frameworks/libswiftCoreLocation.dylib file modified: /Users/myname/Library/Developer/Xcode/DerivedData/myApp-eznjrdjylikczqbwuajqlktierch/Build/Products/Debug-iphoneos/myApp.app/Watch/myApp Watch App.app/
1
0
1.5k
Aug ’15
Bitcode
OK so if I'm understanding correctly WatchOS requires bitcode to be enabled. If I don't also enable bitcode in my parent app I get a codesigning error. So therefore I can't use any prebuilt libraries (like say the Parse.com frameworks) until they are rebuilt with bitcode enabled? Sigh. Is there any way at all to turn off bitcode in the parent app?
1
0
496
Aug ’15
Sandboxed Spotlight importer plugin fails with mdimport: "Failed to obtain sandbox extension for path=~/Library/Caches/mdimport"
I'm seeing the following error message when attempting to test a Spotlight importer that sits in a sandboxed, developer ID codesigned app bundle.➜ Manuscripts git:(feature/mz2-beta) mdimport -g /Applications/Manuscripts.app/Contents/Library/Spotlight/Manuscripts Spotlight.mdimporter ~/Desktop/Steve Ballmer.manuscript2015-08-17 02:27:28.856 mdimport[8895:42509316] Failed to obtain sandbox extension for path=/Users/mz2/Library/Caches/mdimport. Errno:12015-08-17 02:27:28.861 mdimport[8895:42509316] Failed to obtain sandbox extension for path=/Users/mz2/Library/Caches/mdimport. Errno:12015-08-17 02:27:28.924 mdimport[8895:42509316] IORegisterForSystemPower failed2015-08-17 02:27:28.925 mdimport[8895:42509316] IORegisterForSystemPower failedThe same plugin works fine when not sandboxed. I've tried various options related to codesigning: no entitlements (this seemed to work OK for a QuickLook plugin that's inside the same app bundle), or com.apple.security.app-sandbox or the same entitlements file
0
0
1k
Aug ’15
codesign of framework becomes invalid after reboot!
Hi,We have a weird problem after upgrading to Yosamite:We use a 3rd party framework and codesign it on copying in Build Phases.When we run the application (which is LSUIElement - agent application) sometimes after reboot it crashes with the following crash report:Exception Type: EXC_BREAKPOINT (SIGTRAP)Exception Codes: 0x0000000000000002, 0x0000000000000000Application Specific Information:dyld: launch, loading dependent librariesDyld Error Message: Library not loaded: @executable_path/../Frameworks/TspSdk.framework/Versions/A/TspSdk Referenced from: /Users/USER/Desktop/Test1.app/Contents/MacOS/Test Reason: no suitable image found. Did find: /Users/myuser/Desktop/Test1.app/Contents/MacOS/../Frameworks/TspSdk.framework/Versions/A/TspSdk: code signature invalid for '/Users/myuser/Desktop/Test1.app/Contents/MacOS/../Frameworks/TspSdk.framework/Versions/A/TspSdk' /Users/myuser/Desktop/Test1.app/Contents/MacOS/../Frameworks/TspSdk.framework/Versions/A/TspSdk: code signature invalid for '/Users/myuser/Deskt
1
0
677
Aug ’15