Commit Graph

25 Commits

Author SHA1 Message Date
ilia-shipitsin
5ffd15d845 [macos] suppress xcodebuild output (#8276) 2023-09-13 11:45:19 +02:00
ilia-shipitsin
1410e7c1f1 [macos] introduce additional runtimes for XCode (#8254) 2023-09-11 13:39:00 +02:00
ilia-shipitsin
5487dbaad9 use "license accept timeout" only on MacOS-13 (#8084) 2023-08-15 15:23:02 +02:00
ilia-shipitsin
9f81916bc7 macos-13: update XCode-15 to Beta 6 (#8076) 2023-08-11 17:29:06 +02:00
ilia-shipitsin
4ec9fdae13 [macos] use unxip if available for XCode unpacking (#7992) 2023-08-07 11:53:07 +02:00
ilia-shipitsin
55a4c8c33c Macos 13 xcode 15 beta5 (#8037) 2023-08-04 19:39:13 +02:00
ilia-shipitsin
0f7d7a82ca [macos] download XCode installer with retries (#7898) 2023-07-18 17:47:39 +02:00
ilia-shipitsin
2ccef4f100 [macos] fix XCode simulator install behaviour (#7878)
* [macos] fix XCode simulator install behaviour

in 3929bc9f6e
was introduced regression: simulators were installed only for latest
XCode-14 instance. However, they should be installed for all XCode-14
instances.

let us revert that behaviour

* improve code readability by moving version comparison outside loop

* rework brew installation for ARM64
2023-07-07 16:24:33 +02:00
ilia-shipitsin
63b7bc4bde [macos] refactor XCode installation approach (#7858)
* [macos] refactor XCode installation approach

xcversion does not work anymore, we are switching to storing
XCode installers in intermediate Azure storage

* remove xcode_install_user, xcode_install_password

* rename xcode_install_storage --> xcode_install_storage_url

* mark xcode installation variables sensitive

* remove xcversion_auth_cookie variable

* renamed forgotten xcode_install_storage --> xcode_install_storage_url

* remove leftover xcode_install_user
2023-07-06 11:36:08 +02:00
Vasilii Polikarpov
9f98ea4461 Fix XCode simulators installation (#7769) 2023-06-30 17:14:01 +02:00
Maxim Lobanov
fec7951493 Fix Xcode simulator naming at the end of image generation (#7181) 2023-03-01 10:43:47 +01:00
Sergey Dolin
6f662479c8 [macOS] Rebuilding Launch Services database (#4588) 2021-12-01 10:58:26 +03:00
Dmitry Shibanov
25efb10e32 Parallel installation of Xcode (#2432)
* parallel xcode installation

* resolve comments

* fix changes

* resolve comments and change ErrorActionPreference

* return imports

* switch ErrorActionPreference to Stop

* add log for threadCount

* add errorAction

* use new approach for warning

* change to bash -c

* change approach to install xcodes through to parallel foreach

* use & bash -c "command"

* mv upper ErrorActionPreference and work on logs

* mv $env:SPACESHIP_SKIP_2FA_UPGRADE = 1

* change process count to 5

* Invoke-XCVersion add out-host
2021-02-18 15:08:41 +03:00
Andy Mishechkin
f889dd8d68 Helper function for execution of xcversion with more than one attempt. (#2700)
* Invoke-XCVersion function has been created

* PR Comments resolving

* $result.Output | ForEach-Object { Write-Host $_ } has been added

* $PauseDuration -> $PauseDurationSecs

* Fixing the attempt indexing
2021-02-17 11:03:31 +03:00
Maxim Lobanov
897349365a Update Xcode.Installer.psm1 2020-11-11 14:34:50 +03:00
Maxim Lobanov
1aad4c7b8d accept proposal 2020-11-11 14:33:35 +03:00
Maxim Lobanov
c656a9ddf2 fix nitpicks 2020-11-11 13:24:11 +03:00
Maxim Lobanov
ee8face8f2 fix condition and toolsets 2020-11-10 16:48:20 +03:00
Maxim Lobanov
bf48ac16ea fix typos 2020-11-06 14:38:43 +03:00
Maxim Lobanov
54269f7602 minor improvements 2020-11-02 21:35:36 +03:00
Maxim Lobanov
74483e93da fix typos 2020-11-02 18:03:20 +03:00
Maxim Lobanov
3feabfdb52 fix todos 2020-11-02 11:19:30 +03:00
Maxim Lobanov
cfaa7acb54 fix symlinks 2020-11-02 08:41:40 +03:00
Maxim Lobanov
85b8007337 fix tests 2020-11-01 11:13:45 +03:00
Maxim Lobanov
b49a705f6b need to test 2020-10-31 18:41:04 +03:00