codesign

CodeSign collisions between Developer and Enterprise Distribution

泄露秘密 提交于 2019-11-30 03:42:18
My company uses one build machine (a Mac Mini) as a CI node to build our iOS app. We currently build an Ad-Hoc and an App Store config on the mini. We've recently enrolled in the Enterprise Program and want to start building an Enterprise config as well. However, our build process now fails, because we now have two certificates called "iPhone Distribution: Widget Corporation". One is the distribution cert for AdHoc/AppStore, and one is for Enterprise (Apple calls it In-House). I've tried modifying the mini's keychains such that one cert is in the login keychain and one is in a new keychain

Add codesign to private key ACL without Keychain

六眼飞鱼酱① 提交于 2019-11-30 02:05:13
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 a system-wide LaunchDaemon running as hudson, but then had no access to the build user's login keychain. Long story, full of heartache. The system set to automatically login "build" on startup, so that Hudson starts running. The big problem is codesigning and the Keychain. We create code on behalf of our clients' developer identities, so we have

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

此生再无相见时 提交于 2019-11-29 21:47:30
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 I'll need to do the code signing thing, which may or may not involve codesign(1) . Here are Omar Ismail's instructions, omitting the need for separate shell scripts. This will all occur in a directory safari/ , where we will be signing the directory safari/appname.safariextension/ to become the extension safari/appname.safariextz . The first

Xcode, Codesign Error from Jenkins / SSH - “User Interaction is not allowed”

♀尐吖头ヾ 提交于 2019-11-29 20:44:27
I am trying to run an automated xcodebuild on Jenkins, but I am running into the error User interaction is not allowed. Command /usr/bin/codesign failed with exit code 1 I have already referenced "User interaction is not allowed" trying to sign an OSX app using codesign and other similar threads, but none of the solutions seem to properly remedy the error. Here is what I've already tried: I have allowed all items to access the keychain, and I have specifically added codesign to the "always allow" list (as done here https://stackoverflow.com/a/22637896 ) I have set the keychain to not

Codesign returned 1 (object ifile format invalid or unsuitable) bug

╄→гoц情女王★ 提交于 2019-11-29 20:36:46
I'm working with Xcode 4.1 build 4B110f trying to get my iOS app ready for upload. It passes the Product|Archive step with no errors, asking twice for permission to sign something. But when I try a validate of the archive from the Organizer, it fails: ### Codesigning '/Users/uqrchern/Library/MobileDevice/Provisioning Profiles/70D2381D-3733-4F5D-88B2-4729572C2864.mobileprovision' with 'iPhone Distribution: Ron Chernich' + /usr/bin/codesign --force --preserve-metadata --sign iPhone Distribution: Ron Chernich --resource-rules=/var/folders/ul/ula1AHKnGpqQ9ftDnUL-l++++TM/-Tmp-/rybczU3EBd/Payload

Xcode Build Error Jenkins: Your session has expired. Please log in

对着背影说爱祢 提交于 2019-11-29 11:59:41
问题 I'm trying to build my application using jenkins pipeline using shell command. Below is the command i'm using to build the app. sh 'xcodebuild -workspace projectname.xcworkspace - allowProvisioningUpdates -scheme projectname_UAT -sdk iphoneos - configuration Debug clean build' Below is the error i'm getting i console. note: Using new build system note: Planning build 2018-10-11 11:19:36.638 xcodebuild[92399:5181481] DVTPortal: Service '' encountered an unexpected result code from the portal (

Jenkins vs. Xcode plugin - codesign troubles

浪子不回头ぞ 提交于 2019-11-29 02:04:52
I have updated to OS X Yosemite and also Xcode 6.1 (downloaded from the developer site), from this time I have had the problem with the building as in the log file I see the note "Warning: --resource-rules has been deprecated in Mac OS X >= 10.10!". Does someone know how to use Xcode plugin without "resource-rules" flag? Thank you. Julius Lisauskas Everything is ok with Jenkins plugin. Just product settings is incorrect. Open the "Build Settings" tab of your project. Searched "Code Signing Resource Rules Path", it was empty for me. Change to: $(SDKROOT)/ResourceRules.plist credits goes to

CodeSign collisions between Developer and Enterprise Distribution

瘦欲@ 提交于 2019-11-29 00:14:45
问题 My company uses one build machine (a Mac Mini) as a CI node to build our iOS app. We currently build an Ad-Hoc and an App Store config on the mini. We've recently enrolled in the Enterprise Program and want to start building an Enterprise config as well. However, our build process now fails, because we now have two certificates called "iPhone Distribution: Widget Corporation". One is the distribution cert for AdHoc/AppStore, and one is for Enterprise (Apple calls it In-House). I've tried

Xcode 9 distribution build fails because format of exportOptions.plist has changed in new release

老子叫甜甜 提交于 2019-11-28 23:16:26
问题 I am trying to compile an ad-hoc IPA for my app using SDK version 6.1.2 and Xcode 9 beta (trying to see if the app works in the new version). My build is failing with the following error message: Error Domain=IDEProvisioningErrorDomain Code=9 ""DGHospice.app" requires a provisioning profile." UserInfo= {NSLocalizedDescription="DGHospice.app" requires a provisioning profile., NSLocalizedRecoverySuggestion=Add a profile to the "provisioningProfiles" dictionary in your Export Options property

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

我是研究僧i 提交于 2019-11-28 23:14:46
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 provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: com.apple.developer.ubiquity-kvstore-identifier, keychain-access-groups, com.apple.developer.icloud-container-identifiers, com.apple.developer.icloud-services, com.apple.security.application-groups, com.apple.developer.ubiquity-container-identifiers