-
Notifications
You must be signed in to change notification settings - Fork 4
/
step.yml
executable file
·155 lines (142 loc) · 5.72 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
title: Xamarin Archive
summary: Generates deployable artifact, for example, an .ipa or an APK file for your Xamarin application.
description: |-
This Step archives your Xamarin application and moves the generated files to the deployment folder. From there, the **Deploy to Bitrise.io** Step picks up the files and moves them to **APPS & ARTIFACTS**. Feel free to check them out. You can deliver the archived files to the respective marketplace by adding a delivery Step to your Workflow.
###Configuring the Step
1. Set the the location of your Xamarin solution file in the **Path to the Xamarin Solution file** input.
1. Set the **Xamarin solution configuration** input to the Xamarin project Configuration you wish to use (for example, `Release`).
2. Set the target platform of your solution configuration in the **Xamarin solution platform** input (for example, `iPhone`).
###Troubleshooting
Make sure you insert the **Xamarin Archive** Step after the relevant code signing Step and before any delivery Step. For example, if you're archiving an .ipa file, make sure you have uploaded the code signing files to Bitrise and have the **Certificate and profile installer** Step in your Workflow. For APK file generation, you will need to upload your keystore file and have the **Android Sign** Step in your Workflow.
###Useful links
- [Creating a signed .ipa for Xamarin apps](https://devcenter.bitrise.io/code-signing/ios-code-signing/create-signed-ipa-for-xamarin/)
- [Xamarin Android code signing](https://devcenter.bitrise.io/code-signing/xamarin-android-code-signing/xamarin-android-code-signing/)
- [Deploying your Xamarin app](https://devcenter.bitrise.io/tutorials/xamarin/deploy-your-xamarin-app/#what-if-you-are-already-using-or-want-to-use-another-deployment-service)
###Related Steps
- [Certificate and profile installer](https://www.bitrise.io/integrations/steps/certificate-and-profile-installer)
- [Android Sign](https://www.bitrise.io/integrations/steps/sign-apk)
- [NuGet Restore](https://www.bitrise.io/integrations/steps/nuget-restore)
website: https://github.com/bitrise-steplib/steps-xamarin-archive
source_code_url: https://github.com/bitrise-steplib/steps-xamarin-archive
support_url: https://github.com/bitrise-steplib/steps-xamarin-archive/issues
project_type_tags:
- xamarin
type_tags:
- build
is_requires_admin_user: false
is_always_run: false
is_skippable: false
toolkit:
go:
package_name: github.com/bitrise-steplib/steps-xamarin-archive
inputs:
- xamarin_solution: $BITRISE_PROJECT_PATH
opts:
category: Config
title: Path to the Xamarin Solution file
description: |-
The Xamarin Solution file `.sln` path.
is_required: true
- xamarin_configuration: $BITRISE_XAMARIN_CONFIGURATION
opts:
category: Config
title: Xamarin solution configuration
description: |-
Xamarin solution configuration.
is_required: true
- xamarin_platform: $BITRISE_XAMARIN_PLATFORM
opts:
category: Config
title: Xamarin solution platform
description: |-
Xamarin solution platform.
is_required: true
- project_type_whitelist: "android,ios,macos,tvos"
opts:
category: Config
title: Specify project types to build
description: |-
Comma separated list of project types to build.
__Empty list means: build all project types.__
Available platforms:
- android
- ios
- macos
- tvos
- build_tool: "msbuild"
opts:
category: Debug
title: Which tool to use for building?
description: |-
Which tool to use for building?
value_options:
- msbuild
- xbuild
- ios_build_command_custom_options:
opts:
category: Debug
title: Options to append to the iOS build command
description: |-
These options will be appended to the end of the iOS build command.
- android_build_command_custom_options:
opts:
category: Debug
title: Options to append to the Android build command
description: |-
These options will be appended to the end of the Android build command.
- tvos_build_command_custom_options:
opts:
category: Debug
title: Options to append to the tvOS build command
description: |-
These options will be appended to the end of the tvOS build command.
- macos_build_command_custom_options:
opts:
category: Debug
title: Options to append to the macOS build command
description: |-
These options will be appended to the end of the macOS build command.
outputs:
# Android outputs
- BITRISE_APK_PATH: ""
opts:
title: The created Android .apk file's path
- BITRISE_AAB_PATH: ""
opts:
title: The created Android .aab file's path
# iOS outputs
- BITRISE_XCARCHIVE_PATH: ""
opts:
title: The created iOS .xcarchive file's path
- BITRISE_IPA_PATH:
opts:
title: The created iOS .ipa file's path
- BITRISE_DSYM_PATH:
opts:
title: The created iOS .dSYM.zip file's path
- BITRISE_APP_PATH:
opts:
title: The create iOS .app file's path
# tvOS outputs
- BITRISE_TVOS_XCARCHIVE_PATH: ""
opts:
title: The created tvOS .xcarchive file's path
- BITRISE_TVOS_IPA_PATH:
opts:
title: The created tvOS .ipa file's path
- BITRISE_TVOS_DSYM_PATH:
opts:
title: The created tvOS .dSYM file's path
- BITRISE_TVOS_APP_PATH:
opts:
title: The create tvOS .app file's path
# macOS outputs
- BITRISE_MACOS_XCARCHIVE_PATH: ""
opts:
title: The created macOS .xcarchive file's path
- BITRISE_MACOS_APP_PATH:
opts:
title: The created macOS .app file's path
- BITRISE_MACOS_PKG_PATH:
opts:
title: The created macOS .pkg file's path