Comments (7)
cert
doesn't support Development profiles for Enterprise accounts as far as I know, sorry.
from cert.
I just took a look, right now cert
doesn't support development profiles on enterprise accounts.
from cert.
Came across this issue myself when trying to run a jenkins job to build and sign the ipa (for Enterprise).
Even though cert
and sigh
correctly download their respective distribution keys onto the local machine, I've run into code sign issues where Cocoapods cannot sign the frameworks without a development code certificate. One would get errors like the following during the ipa
action:
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “(null)” were found.
AND
CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.3'
The solution based off this article would be import the developer certificate into the same keychain as the distribution keys, but seeing as cert
cannot download developer certificates in enterprise programs, this is a manual process for now. I'd also like to avoid committing a dev cert into my repo and using the import_certificate
action.
Perhaps this is reason to support the development
option for enterprise? thoughts?
from cert.
Hi @otaran - sorry for the long silence on this!
This appears to be addressed by #56. Can you confirm whether this is working for you now? Thanks! 👍
from cert.
Hi @mfurtak, no worries. I checked it and it works (not perfectly though):
$ cert --development --force
+---------------+-------------------------------------------------+
| Summary for cert 1.3.0 |
+---------------+-------------------------------------------------+
| development | true |
| force | true |
| keychain_path | /Users/***/Library/Keychains/login.keychain |
+---------------+-------------------------------------------------+
[08:51:40]: To not be asked about this value, you can specify it using 'username'
Your Apple ID Username: ***
[08:51:45]: Starting login with user '***'
Multiple teams found on the Developer Portal, please enter the number of the team you want to use:
1) *** (In-House)
2) *** (Company/Organization)
3) *** (Individual)
1
[08:51:49]: Successfully logged in
[08:51:51]: $ security import /Users/***/***/GJ557PYSSF.p12 -k '/Users/***/Library/Keychains/login.keychain' -T /usr/bin/codesign -T /usr/bin/security
[08:51:51]: ▸ 1 key imported.
[08:51:51]: $ security import /Users/***/***/GJ557PYSSF.cer -k '/Users/***/Library/Keychains/login.keychain' -T /usr/bin/codesign -T /usr/bin/security
[08:51:51]: ▸ 1 certificate imported.
[08:51:51]: Successfully generated ***SF which was imported to the local machine.
[08:51:52]: Verifying the certificated is properly installed locally...
[08:51:52]: Successfully installed certificate ***SF
The issue I've noticed is that private key gets imported with name Imported Private Key
instead of iOS Developer: Oleksii Taran ($TEAM)
like Xcode does. Maybe this should be reported as new issue because original issue is obviously fixed.
Thank you, @mfurtak!
from cert.
Thanks for checking, and the excellent log info 👍
from cert.
This issue was migrated to fastlane/fastlane#3121. Please post all further comments there.
fastlane
is now a mono repo, you can read more about the change in our blog post. All tools are now available in the fastlane main repo 🚀
from cert.
Related Issues (20)
- Error: account_manager.rb:61:in `ask_for_login': uninitialized constant HOT 3
- Could not find the newly generated certificate installed (RuntimeError) if WWDR Intermediate is missing HOT 3
- Can cert just download the existing certificates? HOT 3
- Unable to download Provisioning Profile HOT 2
- Crash 3c85c1f6662e251634e0f52738024c07: cert does not handle 302 response from Apple Server HOT 3
- Find correct development certificate HOT 2
- Error when contacting https://developerservices2.apple.com/services/QH65B2/listTeams.action "Your session has expired. Please log in." HOT 4
- Cert doesn't prevent codesign from prompting to be allowed to sign. HOT 1
- Cert doesn't import certs previously requested from the output path if the P!2 is there. HOT 3
- Option to specify existing Private Key HOT 6
- Couldn't creating a new certificate HOT 13
- Force to download a certificate with fastlane HOT 4
- undefined method `message' HOT 2
- Default behavior with force flag set to false? HOT 3
- Unable to specify a specific certificate to use HOT 1
- Could not find the newly generated certificate installed HOT 4
- Could not find the newly generated certificate installed HOT 1
- Certificate not found HOT 8
- Couldn't download certificate, got this instead: HTTP 405 Method Not Allowed HOT 16
- Couldn't find an existing certificate... creating a new one HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cert.