Skip to content
This repository has been archived by the owner on May 3, 2023. It is now read-only.

Commit

Permalink
Added deprecation notice (#165)
Browse files Browse the repository at this point in the history
* Added deprecation notice
  • Loading branch information
lpusok authored Jan 14, 2022
1 parent 214ab1a commit 4f51fd6
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# iOS Auto Provision with Apple ID
# iOS Auto Provision with Apple ID (Deprecated)

[![Step changelog](https://shields.io/github/v/release/bitrise-steplib/steps-ios-auto-provision?include_prereleases&label=changelog&color=blueviolet)](https://github.com/bitrise-steplib/steps-ios-auto-provision/releases)

Expand All @@ -7,7 +7,18 @@ Automatically manages your iOS Provisioning Profiles for your Xcode project.
<details>
<summary>Description</summary>

### This Step has been deprecated in favour of the new automatic code signing options on Bitrise.
You can read more about these changes in our blog post: [https://blog.bitrise.io/post/simplifying-automatic-code-signing-on-bitrise](https://blog.bitrise.io/post/simplifying-automatic-code-signing-on-bitrise).

#### Option A)
The latest versions of the [Xcode Archive & Export for iOS](https://www.bitrise.io/integrations/steps/xcode-archive), [Xcode Build for testing for iOS](https://www.bitrise.io/integrations/steps/xcode-build-for-test), and the [Export iOS and tvOS Xcode archive](https://www.bitrise.io/integrations/steps/xcode-archive) Steps have built-in automatic code signing.
We recommend removing this Step from your Workflow and using the automatic code signing feature in the Steps mentioned above.

#### Option B)
If you are not using any of the mentioned Xcode Steps, then you can replace
this iOS Auto Provision Step with the [Manage iOS Code signing](https://www.bitrise.io/integrations/steps/manage-ios-code-signing) Step.

### Description
The [Step](https://devcenter.bitrise.io/getting-started/configuring-bitrise-steps-that-require-apple-developer-account-data/#ios-auto-provision-with-apple-id-step) uses session-based authentication to connect to an Apple Developer account. In addition to an Apple ID and password, it also stores the 2-factor authentication (2FA) code you provide.

Please note that the [iOS Auto Provision with App Store Connect API](https://app.bitrise.io/integrations/steps/ios-auto-provision-appstoreconnect) Step uses the official [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests) instead of the old session-based method.
Expand Down
18 changes: 18 additions & 0 deletions step.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,24 @@
Log.verbose = (params.verbose_log == 'yes')
###

Log.warn("\n")
Log.warn('This Step has been deprecated in favour of the new automatic code signing options on Bitrise.')
Log.warn("
Option A)
The latest versions of the [Xcode Archive & Export for iOS](https://www.bitrise.io/integrations/steps/xcode-archive),
[Xcode Build for testing for iOS](https://www.bitrise.io/integrations/steps/xcode-build-for-test),
and the [Export iOS and tvOS Xcode archive](https://www.bitrise.io/integrations/steps/xcode-archive) Steps
have built-in automatic code signing.
We recommend removing this Step from your Workflow and using the automatic code signing feature in the Steps mentioned above.
Option B)
If you are not using any of the mentioned Xcode steps, then you can replace this iOS Auto Provision Step with
the [Manage iOS Code signing](https://www.bitrise.io/integrations/steps/manage-ios-code-signing) Step.
You can read more about these changes in our blog post:
https://blog.bitrise.io/post/simplifying-automatic-code-signing-on-bitrise
")

# Unset SPACESHIP_AVOID_XCODE_API
orig_spaceship_avoid_xcode_api = ENV['SPACESHIP_AVOID_XCODE_API']
Log.debug("\noriginal SPACESHIP_AVOID_XCODE_API: #{orig_spaceship_avoid_xcode_api}")
Expand Down
13 changes: 12 additions & 1 deletion step.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@


title: iOS Auto Provision with Apple ID
title: iOS Auto Provision with Apple ID (Deprecated)
summary: Automatically manages your iOS Provisioning Profiles for your Xcode project.
description: |-
### This Step has been deprecated in favour of the new automatic code signing options on Bitrise.
You can read more about these changes in our blog post: [https://blog.bitrise.io/post/simplifying-automatic-code-signing-on-bitrise](https://blog.bitrise.io/post/simplifying-automatic-code-signing-on-bitrise).
#### Option A)
The latest versions of the [Xcode Archive & Export for iOS](https://www.bitrise.io/integrations/steps/xcode-archive), [Xcode Build for testing for iOS](https://www.bitrise.io/integrations/steps/xcode-build-for-test), and the [Export iOS and tvOS Xcode archive](https://www.bitrise.io/integrations/steps/xcode-archive) Steps have built-in automatic code signing.
We recommend removing this Step from your Workflow and using the automatic code signing feature in the Steps mentioned above.
#### Option B)
If you are not using any of the mentioned Xcode Steps, then you can replace
this iOS Auto Provision Step with the [Manage iOS Code signing](https://www.bitrise.io/integrations/steps/manage-ios-code-signing) Step.
### Description
The [Step](https://devcenter.bitrise.io/getting-started/configuring-bitrise-steps-that-require-apple-developer-account-data/#ios-auto-provision-with-apple-id-step) uses session-based authentication to connect to an Apple Developer account. In addition to an Apple ID and password, it also stores the 2-factor authentication (2FA) code you provide.
Please note that the [iOS Auto Provision with App Store Connect API](https://app.bitrise.io/integrations/steps/ios-auto-provision-appstoreconnect) Step uses the official [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests) instead of the old session-based method.
Expand Down

0 comments on commit 4f51fd6

Please sign in to comment.