Commit Graph

27 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
6bf51e6351 [macos] move license accept out of parallel ForEach (#8120) 2023-08-22 10:01:24 +02:00
Shamil Mubarakshin
ff6a3d4b29 [macos] Utilise arch helper function (#8036) 2023-08-03 18:20:16 +02:00
ilia-shipitsin
67f9c37eee [macos] enable simulators for XCode-15 (#8001)
test on simulators is really weird, after deep investigation we
deviced to disable it for a while
2023-08-01 10:01:30 +02:00
ilia-shipitsin
52b92ff310 [macos] supress nonsignificant powershell warning (#7985)
veertu-anka-vm-clone.template: Installing Xcode versions...
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
    veertu-anka-vm-clone.template: WARNING: The names of some imported commands from the module 'Xcode.Installer' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.
2023-07-26 17:41:57 +02:00
ilia-shipitsin
c5579bd0e9 [macos] temporarily disable simulators on XCode-15 (#7880) 2023-07-07 22:46:36 +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
Alexey-Ayupov
8b099099d9 [macos] prepare repository for ARM64 arch (#7396) 2023-05-12 13:30:13 +02:00
Maxim Lobanov
fec7951493 Fix Xcode simulator naming at the end of image generation (#7181) 2023-03-01 10:43:47 +01:00
Mikhail Koliada
59cd4c1aff [macOS] Install tvOS and watchOS runtime sims (#6140) 2022-08-26 11:29:28 +03:00
V-Zabayrachny
3c2f1c6350 [macOS] Remove macOS 10.14 related code in the VE repo (#4816)
* [MacOS] Remove code for macOS-10.14

* remove is_Less_BigSur in all script

* remove variable the IsLessThanBigSur
2021-12-30 10:36:59 +03:00
Sergey Dolin
6f662479c8 [macOS] Rebuilding Launch Services database (#4588) 2021-12-01 10:58:26 +03:00
MaksimZhukov
9fe940e8a3 [macOS] Install Xcode 13 beta along with 13 stable (#4102) 2021-09-18 01:10:15 +03:00
Mikhail Timofeev
52d30ac08c [macOS] Fix xcode installation script if there is only one Xcode version to install (#3808)
* Cast xcodeVersions variable to array
2021-07-29 16:15:45 +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
Maxim Lobanov
9480083149 Enable SPACESHIP_SKIP_2FA_UPGRADE flag for xcversion (#2617) 2021-02-05 09:39:26 +03:00
Darii Nurgaleev
03ce901f42 [macOS] Pester tests invocation after install - 2. (#2429)
* [macOS] Fail Pester tests on error

* return it back

* added new tests

* added new tests for Macos part2

* fixed nitpicks

* vsmac changes

* remove toolcache fron high sierra
2021-01-20 10:11:00 +03:00
Maxim Lobanov
c656a9ddf2 fix nitpicks 2020-11-11 13:24:11 +03:00
Maxim Lobanov
c1a5ebfc6a Update xcode.ps1 2020-11-09 17:46:21 +03:00
Maxim Lobanov
54269f7602 minor improvements 2020-11-02 21:35:36 +03:00
Maxim Lobanov
cfaa7acb54 fix symlinks 2020-11-02 08:41:40 +03:00
Maxim Lobanov
6ac87c213d Update xcode.ps1 2020-11-01 15:55:02 +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