Skip to content

Commit 360f0ce

Browse files
authored
App Store Connect API paging workarounds (#372)
* paging fix * Disabled known bad visionOS test
1 parent d6317e5 commit 360f0ce

File tree

18 files changed

+431
-112
lines changed

18 files changed

+431
-112
lines changed

e2e/bitrise.yml

+31-31
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,37 @@ app:
1818
- BITFALL_APPSTORECONNECT_API_KEY_ISSUER_ID: $BITFALL_APPSTORECONNECT_API_KEY_ISSUER_ID
1919

2020
workflows:
21-
22-
test_visionOS:
23-
description: visionOS SDK requires Xcode 15.2+
24-
steps:
25-
- bitrise-run:
26-
title: Run visionOS test if current stack supports it
27-
run_if: |-
28-
{{ and (not (envcontain "BITRISEIO_STACK_ID" "osx-xcode-15.0")) (not (envcontain "BITRISEIO_STACK_ID" "osx-xcode-15.1")) (not (envcontain "BITRISEIO_STACK_ID" "osx-xcode-14.")) }}
29-
inputs:
30-
- workflow_id: utility_test_visionOS
31-
- bitrise_config_path: ./e2e/bitrise.yml
32-
33-
utility_test_visionOS:
34-
envs:
35-
- TEST_APP_URL: https://github.com/bitrise-io/visionOS-HelloWorld
36-
- TEST_APP_BRANCH: main
37-
- TEST_APP_COMMIT: ""
38-
- BITRISE_PROJECT_PATH: World.xcodeproj
39-
- BITRISE_SCHEME: World
40-
- CODE_SIGNING_METHOD: api-key
41-
- MIN_DAYS_PROFILE_VALID: 0
42-
- FORCE_CODE_SIGN_IDENTITY: "iPhone Developer: Tooling Bot Bitrise"
43-
- TEAM_ID: 72SA8V3WYL
44-
- FORCE_PROV_PROFILE_SPECIFIER: ""
45-
- IPA_EXPORT_METHOD: development
46-
- IPA_EXPORT_ICLOUD_CONTAINER_ENVIRONMENT: ""
47-
- LOG_FORMATTER: xcodebuild
48-
after_run:
49-
- _run
50-
- _check_outputs
51-
- _check_exported_artifacts
21+
# Disabled known bad visonOS test
22+
# test_visionOS:
23+
# description: visionOS SDK requires Xcode 15.2+
24+
# steps:
25+
# - bitrise-run:
26+
# title: Run visionOS test if current stack supports it
27+
# run_if: |-
28+
# {{ and (not (envcontain "BITRISEIO_STACK_ID" "osx-xcode-15.0")) (not (envcontain "BITRISEIO_STACK_ID" "osx-xcode-15.1")) (not (envcontain "BITRISEIO_STACK_ID" "osx-xcode-14.")) }}
29+
# inputs:
30+
# - workflow_id: utility_test_visionOS
31+
# - bitrise_config_path: ./e2e/bitrise.yml
32+
33+
# utility_test_visionOS:
34+
# envs:
35+
# - TEST_APP_URL: https://github.com/bitrise-io/visionOS-HelloWorld
36+
# - TEST_APP_BRANCH: main
37+
# - TEST_APP_COMMIT: ""
38+
# - BITRISE_PROJECT_PATH: World.xcodeproj
39+
# - BITRISE_SCHEME: World
40+
# - CODE_SIGNING_METHOD: api-key
41+
# - MIN_DAYS_PROFILE_VALID: 0
42+
# - FORCE_CODE_SIGN_IDENTITY: "iPhone Developer: Tooling Bot Bitrise"
43+
# - TEAM_ID: 72SA8V3WYL
44+
# - FORCE_PROV_PROFILE_SPECIFIER: ""
45+
# - IPA_EXPORT_METHOD: development
46+
# - IPA_EXPORT_ICLOUD_CONTAINER_ENVIRONMENT: ""
47+
# - LOG_FORMATTER: xcodebuild
48+
# after_run:
49+
# - _run
50+
# - _check_outputs
51+
# - _check_exported_artifacts
5252

5353
test_override_api_key_signing:
5454
description: Test API key based signing on a project where code signing is not managed automatically, by step inputs

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/bitrise-io/go-utils v1.0.12
1010
github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.23
1111
github.com/bitrise-io/go-xcode v1.1.2
12-
github.com/bitrise-io/go-xcode/v2 v2.0.0-alpha.52
12+
github.com/bitrise-io/go-xcode/v2 v2.0.0-alpha.54
1313
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51
1414
github.com/stretchr/testify v1.10.0
1515
gopkg.in/yaml.v3 v3.0.1

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.23 h1:Dfh4nyZPuEtilBisidejqxBrkx9
1313
github.com/bitrise-io/go-utils/v2 v2.0.0-alpha.23/go.mod h1:3XUplo0dOWc3DqT2XA2SeHToDSg7+j1y1HTHibT2H68=
1414
github.com/bitrise-io/go-xcode v1.1.2 h1:7tit56lNPPzH714pBt083z/iZh7P44vgVsNrEdvkYG4=
1515
github.com/bitrise-io/go-xcode v1.1.2/go.mod h1:9OwsvrhZ4A2JxHVoEY7CPcABAKA+OE7FQqFfBfvbFuY=
16-
github.com/bitrise-io/go-xcode/v2 v2.0.0-alpha.52 h1:j3PXdAdthp2ydlvoGbSUoAu+KIbrTQWHOynLr5WxCSk=
17-
github.com/bitrise-io/go-xcode/v2 v2.0.0-alpha.52/go.mod h1:T4rhWQljdgH5As4Dq/RQWuazdScY0YB7uZAMuBUnxeY=
16+
github.com/bitrise-io/go-xcode/v2 v2.0.0-alpha.54 h1:xTIh8AbSVWfSpkhyHj0uOO0I9BPjz5yJcIIPVy3TbGg=
17+
github.com/bitrise-io/go-xcode/v2 v2.0.0-alpha.54/go.mod h1:T4rhWQljdgH5As4Dq/RQWuazdScY0YB7uZAMuBUnxeY=
1818
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
1919
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
2020
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=

vendor/github.com/bitrise-io/go-xcode/v2/autocodesign/autocodesign.go

+10-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-io/go-xcode/v2/autocodesign/devportalclient/appstoreconnect/bundleids.go

+37-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-io/go-xcode/v2/autocodesign/devportalclient/appstoreconnect/certificates.go

+19-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-io/go-xcode/v2/autocodesign/devportalclient/appstoreconnect/devices.go

+22-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-io/go-xcode/v2/autocodesign/devportalclient/appstoreconnect/error.go

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-io/go-xcode/v2/autocodesign/devportalclient/appstoreconnect/profiles.go

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/bitrise-io/go-xcode/v2/autocodesign/devportalclient/appstoreconnectclient/certificates.go

+50
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)