Search results for

codesign

3,114 results found

Post

Replies

Boosts

Views

Activity

Device build fail since upgrade to Xcode 7.3.1
Since upgrading to Xcode 7.3.1 I cannot run my old apps on my iPhone. The build fails at:/usr/bin/codesign --force --sign BE009CA490D248994BC926A8B8674F4133C8DDD6 --preserve-metadata=identifier,entitlements --timestamp=none /Users/me/Library/Developer/Xcode/DerivedData/MyOldApp-elxwfvyezlegongupbpyneiyxpuf/Build/Products/Debug-iphoneoswith the error:/Users/me/Library/Developer/Xcode/DerivedData/MyOldApp-elxwfvyezlegongupbpyneiyxpuf/Build/Products/Debug-iphoneos: bundle format unrecognized, invalid, or unsuitable Command /usr/bin/codesign failed with exit code 1I've been searching for some further explanation of what this actually means - narrowing down if the bundle is 'unrecognized', 'invalid', or 'unsuitable' would help Apple! Plus, the error message 'Command /usr/bin/codesign failed with exit code 1' seems to crop up for all sorts of other reasons.I can run the apps fine on the simulators. And I can run Apps newly created in Xcode 7.3.1 on my iPhone, just not any that were create
14
0
1.5k
May ’16
Signed application complains about identity of developer
Hi,i have an application for OSX signed with a certifcate from developer.apple.com.When i try to open the application osx says:MyAPP can't be opened because the identity of the developer cannot be confirmed.I have to precise that:- i'm try to launch on another Mac also on OSX El Capitan- the message occur- i'm compiling my application from jenkins to a slave on OSX El Capitan, using ssh connexion.- application is packaged into a dmg application- application is built from cmake with Unix Makefiles generator (not xcode).- the application include Qt's framworks and other libraries like ffmpegAll check commands seems OK:$> spctl -avv /Applications/MyApp.app//Applications/MyApp/: acceptedsource=Developer IDorigin=Developer ID Application: MyOrganization (MyTeamID)$> codesign -vvvv /Applications/MyAPP.app/--prepared:/Applications/MyApp.app/Contents/Frameworks/QtCore.framework/Versions/Current/.--validated:/Applications/MyApp.app/Contents/Frameworks/QtCore.framework/Versions/Current/.--prepared:/Appli
1
0
1.1k
May ’16
Reply to SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
I'm building a Unity3d project and have the same error, very frustrating. I'm don't know how to ensure that entitlements are in order.. They're enabled for the app ID in the Member Center, and enabled in the XCode project. I might be mixing up my Developer/Distribution certificates with my Developer/AdHoc provisioning. My app has Push Notifications, which might need special consideration because there are separate Production certificates for Push Notifications...https://forums.developer.apple.com/message/122022#122022This thread has similar symptoms, and makes it seem like a codesigning issue:Some instances of the problem are caused by incorrect app signing. You can easily distinguish this case because the problem is 100% reproducible. eskimo (Apple Staff)https://forums.developer.apple.com/thread/20193Someone suggested removing old provisions from the device to decrease the launch delay so that the app does not time-out... but that seems to ignore the real problem.EDIT: I am able to install and launc
May ’16
How to sign a Personal VPN app for OS X
My app works great on my machine, but when archiving and running on another mac, I see the following in the log.May 17 15:37:47 ERIKPE-M-X2VV taskgated[665]: no application identifier provided, can't use provisioning profiles [pid=9579]May 17 15:37:47 ERIKPE-M-X2VV taskgated[665]: killed com.cisco.UmbrellaDevProfileTest[pid 9579] because its use of the com.apple.developer.networking.vpn.api entitlement is not allowed (error code -67050)May 17 15:37:47 ERIKPE-M-X2VV com.apple.xpc.launchd[1] (com.cisco.UmbrellaDevProfileTest.217312[9579]): Binary is improperly signed.I am thinking of using codesign with an --entitlement.Note: I am not using NEPacketTunnelProvider
7
0
2.7k
May ’16
archive upload failed
Hi,I'm keep getting this msg when trying to upload to app store:Unable to validate your application.the path... '/var/.../T/xcodedistpipeline.u4Q/packages/unity-iphone.ipa' does not contain a file.one of the log files says:2016-05-19 13:34:43 +0000 [MT] Presenting: Error Domain=IDEFoundationErrorDomain Code=1 Codesign failed UserInfo={NSLocalizedDescription=Codesign failed}Thanks.
0
0
664
May ’16
SWIFT library calls not executing after code resign
I have an iOS project that has both objective-c and SWIFT code. Due to requirements for releasing an in-house build, I have to code resign. After code resigning, the calls to SWIFT library are not executing. I dont see any errors, though. Objective-C code executes. I am resigning the SWIFT library as well.// Code resign Frameworks foldercodesign --force --verbose --sign ${BRANDSIGNINGIDENTITY} ${BRANDINGFRAMEWORKSDIR}// Code resign main app codesign-s ${BRANDSIGNINGIDENTITY} -f ${BRANDINGAPPDIR}/ --entitlements ${BRANDINGWORKINGDIR}/entitlements.plistI am using the above instructions. Interestingly, this was working in Xcode 6.4, but broke when we moved to Xcode 7.Any help or tips will be appreciated.
0
0
261
May ’16
Air Apps for Mac OSX: Code object is not signed at all
Hi,I have already developed and published several Air Apps for Mac OSX before. The last one was published on the Mac App Store in July 2015 - everything worked fine back then. This week I've finished another App for OSX using Flash CC 2015 15.0.1.179 + AIR 22.0.0.137 (for Desktop). The App is working perfect on my Mac (OSX 10.11.5) - but in order to submit it to Apple I have to replace the Iconset & entitlements and sign the App again.Ok...In order to replace the Iconset & entitlements I always used this Terminal Script (successfully!! :-) ):cd /Users/essig/Desktopcp MacProcess/Info.plist EyeFitness.app/Contents/Info.plistcp MacProcess/Icon.icns EyeFitness.app/Contents/Resources/Icon.icnschmod -R 777 EyeFitness.appcodesign -f -v -s 3rd Party Mac Developer Application: Jan Essig EyeFitness.app/Contents/Frameworks/Adobe AIR.frameworkcodesign -f -v -s 3rd Party Mac Developer Application: Jan Essig EyeFitness.app/Contents/Frameworks/Adobe AIR.framework/Versions/1.0codesign -f -v -s 3rd Party Mac D
3
0
1k
May ’16
Codesign & sandboxing application built with python
hello guysi've built python application then compiled with Esky for OSX. then i want to submit it to apple store, i follow this tutorial http://dafoster.net/articles/2014/06/24/submitting-a-python-app-to-the-mac-app-store/and check with RB Check and the result :http://i.stack.imgur.com/ghuMc.pngwhen i codesign one of 2 frameworks use system names but are NOT signed by Apple i get error:/Contents/Frameworks/Python.framework: bundle format unrecognized, invalid...what i have to do?
0
0
451
May ’16
Reply to Launch App bundle from RAMDisk
However, if I launch the application from Finder, I get the following error:Yeah, that’s weird. I tried this myself and saw exactly the same problem. It’s clear that Gatekeeper is grumpy about the app, but it’s not clear why. Notably both codesign and spctl give the app a clean bill of health. You should definitely file a bug about this; please post your bug number, just for the record. If no one else offers any suggestions here on DevForums and you’d like someone in DTS to see if there’s a workaround for this, open a DTS tech support incident.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.comWWDC runs Mon, 13 Jun through to Fri, 17 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face. http://developer.apple.com/wwdc/
Jun ’16
Reply to Signing a Widget?
It works. See e.g. my widget at https://maba.wordpress.com/widgets/First, you need a production Developer ID of type Developer ID Application.Make sure it's imported into your keychain.Also note its name. Typically it is like Developer ID Application: Your Name.Now use the codesign tool to sign your widget on the command line like this:codesign -f -s Developer ID Application: Your Name /Path/to/YourWidget.wdgtVerify using spctl:spctl -a -vvvv /Path/to/YourWidget.wdgtThe output should look like this: /Path/to/YourWidget.wdgt: accepted source=Developer ID origin=Developer ID Application: Your Name (XXXXXXXXX)
Topic: Code Signing SubTopic: General Tags:
Jun ’16
Reply to network extension
We have checked the entitlements in our binary by running the following command:$ codesign -d --entitlements :- G.R.A.P.E2.appResult:Mac-mini-Alex:Debug-iphoneos Yuliya$ codesign -d --entitlements :- G.R.A.P.E.2.app Executable=/Users/Yuliya/Projects/G.R.A.P.E2/Build/Products/Debug-iphoneos/G.R.A.P.E.2.app/G.R.A.P.E.2 <?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>application-identifier</key> <string>HRG8K62TZ7.com.aximediasoft.grape2</string> <key>com.apple.developer.networking.HotspotHelper</key> <true/> <key>com.apple.developer.networking.networkextension</key> <array> <string>packet-tunnel-provider</string> <string>app-proxy-provider</string> <string>content-filter-provider</string> </array> <key>com.apple.developer.networking.vpn.api</key
Jun ’16
Reply to GateKeeper rejects my app in 10.11.4, which was working fine until 10.11.3
codesign -dvvv MyApp.appWhat do you see if you add --deep to this command? Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.comWWDC runs Mon, 13 Jun through to Fri, 17 Jun. During that time all of DTS will be at the conference, helping folks out face-to-face. http://developer.apple.com/wwdc/
Topic: Privacy & Security SubTopic: General Tags:
Jun ’16