Skip to content

Commit

Permalink
Add backward-compatibility for macOS 10.11+ (#78)
Browse files Browse the repository at this point in the history
* Add backward-compatibility for macOS 10.11+
* Update restore-keys for GitHub cache
* Update path for GitHub cache
  • Loading branch information
majd authored May 29, 2022
1 parent 943a7af commit 964fbe1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:
- name: Cache SwiftPM packages
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData/ipatool*/SourcePackages/
path: .build/checkouts
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
${{ runner.os }}-spm-
- name: Inject version
run: ./Scripts/version
Expand All @@ -44,9 +45,10 @@ jobs:
- name: Cache SwiftPM packages
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData/ipatool*/SourcePackages/
path: .build/checkouts
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
${{ runner.os }}-spm-
- name: Inject version
run: ./Scripts/version
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
- name: Cache SwiftPM packages
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData/ipatool*/SourcePackages/
path: .build/checkouts
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
${{ runner.os }}-spm-
- name: Inject version
run: ./Scripts/version
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ jobs:
- name: Cache SwiftPM packages
uses: actions/cache@v3
with:
path: ~/Library/Developer/Xcode/DerivedData/ipatool*/SourcePackages/
path: .build/checkouts
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
${{ runner.os }}-spm-
- name: Inject version
run: ./Scripts/version
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PackageDescription

let package = Package(
name: "IPATool",
platforms: [.macOS(.v10_15)],
platforms: [.macOS(.v10_11)],
products: [
.executable(name: "ipatool", targets: ["CLI"]),
.library(name: "StoreAPI", targets: ["StoreAPI"]),
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/majd/ipatool/blob/main/LICENSE)
[![Unit Tests](https://github.com/majd/ipatool/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/majd/ipatool/actions/workflows/unit-tests.yml)
[![Integration Tests](https://github.com/majd/ipatool/actions/workflows/integration-tests.yml/badge.svg)](https://github.com/majd/ipatool/actions/workflows/integration-tests.yml)
![Swift](https://img.shields.io/badge/Swift-5.5-green.svg)
![macOS](https://img.shields.io/badge/macOS-10.15%2B-green.svg)
![Swift](https://img.shields.io/badge/Swift-5.6-green.svg)
![macOS](https://img.shields.io/badge/macOS-10.11%2B-green.svg)

`ipatool` is a command line tool that allows you to search for iOS apps on the [App Store](https://apps.apple.com) and download a copy of the app package, known as an _ipa_ file.

Expand All @@ -21,7 +21,7 @@

## Requirements

- macOS 10.15 or later.
- macOS 10.11 or later.
- Apple ID set up to use the App Store.

## Installation
Expand Down

0 comments on commit 964fbe1

Please sign in to comment.