Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[spaceship] Version bump #6208

Merged
merged 1 commit into from
Sep 20, 2016
Merged

[spaceship] Version bump #6208

merged 1 commit into from
Sep 20, 2016

Conversation

KrauseFx
Copy link
Member

This release changes the way App Store and Ad Hoc profiles are handled due to a recent API change. If you're using spaceship directly make sure to update your code to consider the following changes:

  • Spaceship::ProvisioningProfile::AppStore.all and Spaceship::ProvisioningProfile::AdHoc.all now return the same array of both App Store and Ad Hoc profiles
  • To distinguish between those profiles at a later point, you can use the new profile.is_adhoc? method
  • The reason for this change is that it's now required to send an additional request per provisioning profile just to get the list of associated certificates and devices. The list of devices is required to detect if it's an Ad Hoc profile.
  • The first time you call either .devices, .certificates or .certificate_valid? the details request will be sent. Make sure to only call this on profiles you're interested in, as it will take about 400ms per profile
  • profile.valid now doesn't verify the certificate by default any more, you have to call certificate_valid? directly, which will take about 400ms to complete unless the certificate is cached

  • This release also fixed a bug that spaceauth wasn't included in the Ruby gem

This release changes the way App Store and Ad Hoc profiles are handled due to a recent API change. If you're using _spaceship_ directly make sure to update your code to consider the following changes:

- `Spaceship::ProvisioningProfile::AppStore.all` and `Spaceship::ProvisioningProfile::AdHoc.all` now return the same array of both App Store and Ad Hoc profiles
- To distinguish between those profiles at a later point, you can use the new `profile.is_adhoc?` method
- The reason for this change is that it's now required to send an additional request per provisioning profile just to get the list of associated certificates and devices. The list of devices is required to detect if it's an Ad Hoc profile. 
- The _first time_ you call either `.devices`, `.certificates` or `.certificate_valid?` the details request will be sent. Make sure to only call this on profiles you're interested in, as it will take about 400ms per profile
- `profile.valid` now doesn't verify the certificate by default any more, you have to call `certificate_valid?` directly, which will take about 400ms to complete unless the certificate is cached

- This release also fixed a bug that `spaceauth` wasn't included in the Ruby gem
Copy link
Contributor

@asfalcone asfalcone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💎

@KrauseFx KrauseFx merged commit e06618f into master Sep 20, 2016
@KrauseFx KrauseFx deleted the KrauseFx-patch-8 branch September 20, 2016 19:59
@fastlane fastlane locked and limited conversation to collaborators Feb 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants