Git Product home page Git Product logo

Comments (7)

KrauseFx avatar KrauseFx commented on July 19, 2024

cert doesn't support Development profiles for Enterprise accounts as far as I know, sorry.

from cert.

KrauseFx avatar KrauseFx commented on July 19, 2024

I just took a look, right now cert doesn't support development profiles on enterprise accounts.

from cert.

alexspark avatar alexspark commented on July 19, 2024

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.

mfurtak avatar mfurtak commented on July 19, 2024

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.

otaran avatar otaran commented on July 19, 2024

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.

mfurtak avatar mfurtak commented on July 19, 2024

Thanks for checking, and the excellent log info 👍

from cert.

fastlanebot avatar fastlanebot commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.