Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: CI
on: [push, pull_request]
jobs:
test:
runs-on: macOS-10.15
runs-on: macOS-11
steps:
- uses: actions/checkout@v3
- name: Run tests
env:
DEVELOPER_DIR: /Applications/Xcode_12.3.app
DEVELOPER_DIR: /Applications/Xcode_13.2.1.app
run: swift test
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Apple ID:
Apple ID Password:

Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)

(1/6) Downloading Xcode 0.0.0: 1%
(1/6) Downloading Xcode 0.0.0: 2%
(1/6) Downloading Xcode 0.0.0: 3%
Expand Down Expand Up @@ -102,6 +104,7 @@ Apple ID Password:
(1/6) Downloading Xcode 0.0.0: 99%
(1/6) Downloading Xcode 0.0.0: 100%
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
(3/6) Moving Xcode to /Users/brandon/Xcode/Xcode-0.0.0.app
(4/6) Moving Xcode archive Xcode-0.0.0.xip to the Trash
(5/6) Checking security assessment and code signing
Expand Down
4 changes: 4 additions & 0 deletions Tests/XcodesKitTests/Fixtures/LogOutput-DamagedXIP.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,13 @@ Apple ID Password:

(1/6) Found existing archive that will be used for installation at /Users/brandon/Library/Application Support/com.robotsandpencils.xcodes/Xcode-0.0.0.xip.
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
The archive "Xcode-0.0.0.xip" is damaged and can't be expanded.
Removing damaged XIP and re-attempting installation.


Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)

(1/6) Downloading Xcode 0.0.0: 1%
(1/6) Downloading Xcode 0.0.0: 2%
(1/6) Downloading Xcode 0.0.0: 3%
Expand Down Expand Up @@ -108,6 +111,7 @@ Removing damaged XIP and re-attempting installation.
(1/6) Downloading Xcode 0.0.0: 99%
(1/6) Downloading Xcode 0.0.0: 100%
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
(3/6) Moving Xcode to /Applications/Xcode-0.0.0.app
(4/6) Moving Xcode archive Xcode-0.0.0.xip to the Trash
(5/6) Checking security assessment and code signing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Apple ID:
Apple ID Password:

Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)

(1/6) Downloading Xcode 0.0.0: 1%
(1/6) Downloading Xcode 0.0.0: 2%
(1/6) Downloading Xcode 0.0.0: 3%
Expand Down Expand Up @@ -102,6 +104,7 @@ Apple ID Password:
(1/6) Downloading Xcode 0.0.0: 99%
(1/6) Downloading Xcode 0.0.0: 100%
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
(3/6) Moving Xcode to /Applications/Xcode-0.0.0.app
(4/6) Moving Xcode archive Xcode-0.0.0.xip to the Trash
(5/6) Checking security assessment and code signing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Apple ID:
Apple ID Password:
(1/6) Downloading Xcode 0.0.0
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
(3/6) Moving Xcode to /Applications/Xcode-0.0.0.app
(4/6) Moving Xcode archive Xcode-0.0.0.xip to the Trash
(5/6) Checking security assessment and code signing
Expand Down
3 changes: 3 additions & 0 deletions Tests/XcodesKitTests/Fixtures/LogOutput-FullHappyPath.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
Apple ID:
Apple ID Password:

Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)

(1/6) Downloading Xcode 0.0.0: 1%
(1/6) Downloading Xcode 0.0.0: 2%
(1/6) Downloading Xcode 0.0.0: 3%
Expand Down Expand Up @@ -102,6 +104,7 @@ Apple ID Password:
(1/6) Downloading Xcode 0.0.0: 99%
(1/6) Downloading Xcode 0.0.0: 100%
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
(3/6) Moving Xcode to /Applications/Xcode-0.0.0.app
(4/6) Moving Xcode archive Xcode-0.0.0.xip to the Trash
(5/6) Checking security assessment and code signing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ Invalid username and password combination. Attempted to sign in with username te
Try entering your password again
Apple ID Password (test@example.com):

Downloading with urlSession - for faster downloads install aria2 (`brew install aria2`)

(1/6) Downloading Xcode 0.0.0: 1%
(1/6) Downloading Xcode 0.0.0: 2%
(1/6) Downloading Xcode 0.0.0: 3%
Expand Down Expand Up @@ -104,6 +106,7 @@ Apple ID Password (test@example.com):
(1/6) Downloading Xcode 0.0.0: 99%
(1/6) Downloading Xcode 0.0.0: 100%
(2/6) Unarchiving Xcode (This can take a while)
Using regular unxip. Try passing `--experimental-unxip` for a faster unxip process
(3/6) Moving Xcode to /Applications/Xcode-0.0.0.app
(4/6) Moving Xcode archive Xcode-0.0.0.xip to the Trash
(5/6) Checking security assessment and code signing
Expand Down