Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Download Latest Certificates And Provisioning Profiles #6

Closed
bassrock opened this issue Nov 6, 2014 · 12 comments
Closed

Download Latest Certificates And Provisioning Profiles #6

bassrock opened this issue Nov 6, 2014 · 12 comments

Comments

@bassrock
Copy link
Contributor

bassrock commented Nov 6, 2014

A good feature enhancement would be to download and install the latest provisioning profiles and certificates for your app as they can change constantly by adding new developers or new devices.

@KrauseFx
Copy link
Collaborator

KrauseFx commented Nov 6, 2014

Definitely! I once had this up and running for > 10 apps. Unfortunately many different problems occurred after a time, because of various reasons, like Apple changing something on the UI.

Sooner or later I'll implement it from scratch, maybe as a plugin for deliver to not pollute deliver itself.

What do you think?

@bassrock
Copy link
Contributor Author

bassrock commented Nov 6, 2014

I think the cupertino gem works well for this. The only trouble is installing the provisioning profiles because it can't be opened from the command line via ssh. Has to be a local terminal session.

@KrauseFx
Copy link
Collaborator

KrauseFx commented Nov 6, 2014

But cupertino does not create/modify code signing profiles and push notification files, including generating the .pem file, right?

Because that's what I was thinking about:

  • Create the App ID (if not yet done)
  • Create an App Store signing profile for that App ID
  • Enable push notifications for this app
  • Create a push notification certificate, generate the .pem file for the server (offer a nice callback to easily upload it to S3 or any other server)
  • Prepare the provisioning profile to be used with Shenzhen to build and sign the app.

@bassrock
Copy link
Contributor Author

bassrock commented Nov 6, 2014

Ah that would be create as well. For now I was just thinking about if someone updates their provisioning file to just have deliver auto-download the latest profiles for that app. I.e. Developer 1 joins the team, Developer 1 creates a new dev certificate in the portal, this invalidates all old certificates, and recreates them.

Then when deliver builds it just downloads the new provisioning profiles. Not create them or anything.

@mRs-
Copy link

mRs- commented Nov 10, 2014

This would be a really nice addition to cupertiono IMHO ;)

@KrauseFx
Copy link
Collaborator

As far as I know, cupertino only uses a static HTML parser, which means, there is no JavaScript executed. To create new profiles, I'm pretty sure, JavaScript would be required.

@aschuch
Copy link

aschuch commented Nov 10, 2014

Played around with this idea yesterday, cupertino uses mechanize.
I think it would be possible without JavaScript, though.

The question is: Should we extend cupertino, or work on our own solution?

@KrauseFx
Copy link
Collaborator

I'll have to investigate if it's possible to do it without Javascript.
I'm currently working on a new screenshot solution. Maybe afterwards I'll look further into this problem.

@aschuch
Copy link

aschuch commented Nov 10, 2014

We could have a call about it later this week if you want...

@KrauseFx
Copy link
Collaborator

@aschuch This would be the fourth open source project of this collection then. I just released [Snapshot])(https://github.com/KrauseFx/snapshot) and will release FrameIt in the next days.

I think creating/modifying the profiles would be the next one then.

@KrauseFx
Copy link
Collaborator

I'll close this issue for now, since it's not in the scope of this project.

@fastlanebot
Copy link

This issue was migrated to fastlane/fastlane#2478. 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 🚀

@fastlane-old fastlane-old locked and limited conversation to collaborators Mar 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants