Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
Added deprecation notice (#99)
Browse files Browse the repository at this point in the history
* Added deprecation notice
  • Loading branch information
lpusok authored Jan 14, 2022
1 parent 06e023d commit d159162
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# iOS Auto Provision with App Store Connect API
# iOS Auto Provision with App Store Connect API (Deprecated)

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

Expand All @@ -7,6 +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 uses the official [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests). The Step can obtain the API connection information in 2 ways:
It can use either the Bitrise Apple Developer connection selected under the **Team** tab for the application, or you can provide the information to the Step using Step's input variables.
The Steps performs the following:
Expand Down
18 changes: 18 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,24 @@ func main() {
logger.EnableDebugLog(cfg.VerboseLog)
v1log.SetEnableDebugLog(cfg.VerboseLog) // for compatibility

logger.Warnf(`
This Step has been deprecated in favour of the new automatic code signing options 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.
You can read more about these changes in our blog post:
https://blog.bitrise.io/post/simplifying-automatic-code-signing-on-bitrise
`)

certsWithPrivateKey, err := cfg.Certificates()
if err != nil {
failf("Failed to convert certificate URLs: %s", err)
Expand Down
14 changes: 13 additions & 1 deletion step.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
title: iOS Auto Provision with App Store Connect API
title: iOS Auto Provision with App Store Connect API (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 uses the official [App Store Connect API](https://developer.apple.com/documentation/appstoreconnectapi/generating_tokens_for_api_requests). The Step can obtain the API connection information in 2 ways:
It can use either the Bitrise Apple Developer connection selected under the **Team** tab for the application, or you can provide the information to the Step using Step's input variables.
The Steps performs the following:
Expand Down

0 comments on commit d159162

Please sign in to comment.