From f79f5ad042121ef26f7a5770807a5eb166004325 Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Fri, 4 Oct 2024 15:19:20 -0700 Subject: [PATCH 1/6] update workflows for xcode 16 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d8cd2b..a834c09 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,12 +12,12 @@ on: - main env: - DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer + DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer jobs: main: name: Build and Run - runs-on: macos-14 + runs-on: macos-15 steps: - name: git checkout uses: actions/checkout@v4 From 3281f4cb3aa12e6435c7c206aae978df749c9534 Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Fri, 4 Oct 2024 15:19:34 -0700 Subject: [PATCH 2/6] remove cocoapods support --- .github/workflows/pod-lint.yml | 32 -------------------------------- Nine41.podspec | 18 ------------------ 2 files changed, 50 deletions(-) delete mode 100644 .github/workflows/pod-lint.yml delete mode 100644 Nine41.podspec diff --git a/.github/workflows/pod-lint.yml b/.github/workflows/pod-lint.yml deleted file mode 100644 index 090770f..0000000 --- a/.github/workflows/pod-lint.yml +++ /dev/null @@ -1,32 +0,0 @@ -# GitHub Actions Virtual Environments -# https://github.com/actions/virtual-environments/ - -name: Pod Lint - -on: - push: - branches: - - main - pull_request: - branches: - - main - -env: - DEVELOPER_DIR: /Applications/Xcode_15.4.app/Contents/Developer - -jobs: - main: - name: Pod Lint - runs-on: macos-14 - steps: - - name: git checkout - uses: actions/checkout@v4 - - - name: ruby versions - run: | - ruby --version - gem --version - bundler --version - - - name: pod lint - run: pod lib lint --verbose diff --git a/Nine41.podspec b/Nine41.podspec deleted file mode 100644 index ed8675f..0000000 --- a/Nine41.podspec +++ /dev/null @@ -1,18 +0,0 @@ -Pod::Spec.new do |s| - s.name = 'Nine41' - s.version = '3.0.0' - s.license = 'MIT' - - s.summary = 'Automate overriding the status bars for all running iOS simulators' - s.homepage = 'https://github.com/jessesquires/Nine41' - s.social_media_url = 'https://www.jessesquires.com' - s.author = 'Jesse Squires' - - s.source = { :git => 'https://github.com/jessesquires/Nine41.git', :tag => s.version } - s.source_files = 'Sources/**/*' - - s.swift_version = '5.10' - - s.ios.deployment_target = '11.0' - s.osx.deployment_target = '11.0' -end From 7ba43c4860949733fbb106b8341a7a2077ddea68 Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Fri, 4 Oct 2024 15:19:42 -0700 Subject: [PATCH 3/6] update to swift 6 --- Package.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index ce1a7f0..78d43a5 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.10 +// swift-tools-version:6.0 // The swift-tools-version declares the minimum version of Swift required to build this package. // GitHub @@ -24,5 +24,5 @@ let package = Package( path: "Sources" ) ], - swiftLanguageVersions: [.v5] + swiftLanguageModes: [.v6] ) From 5a98368b4f025d2055bd5917eea9e4dc7e531b0d Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Fri, 4 Oct 2024 15:19:53 -0700 Subject: [PATCH 4/6] update readme --- README.md | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index f5c0cc3..f075823 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ This script fixes most of those issues. It overrides the status bars for all cur ## Requirements -- Swift 5.10+ -- Xcode 15.4+ +- Swift 6.0+ +- Xcode 16.0+ ## Installation @@ -42,12 +42,6 @@ dependencies: [ Alternatively, you can add the package [directly via Xcode](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app). -### [CocoaPods](https://cocoapods.org) - -```ruby -pod 'Nine41' -``` - ## Usage After cloning the repo, you can create a custom bash command: @@ -90,12 +84,6 @@ For Swift Package Manager installations: /usr/bin/xcrun --sdk macosx swift run --package-path "${BUILD_ROOT}/../../SourcePackages/checkouts/Nine41" ``` -For CocoaPods installations: - -```bash -/usr/bin/xcrun --sdk macosx swift "${PODS_ROOT}/Nine41/Sources/main.swift" -``` - 3. Build and run. Note that simulators must be booted for the script to work, which means the very first run may not produce results but the subsequent runs will. ## Contributing From 683e8b6c917168ed5356abffc65ad0b69cd3ee87 Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Fri, 4 Oct 2024 15:19:59 -0700 Subject: [PATCH 5/6] update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4cd9386..2ccdba6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ The changelog for `Nine41`. Also see the [releases](https://github.com/jessesquires/Nine41/releases) on GitHub. +4.0.0 +----- + +- Upgraded to Xcode 16 and Swift 6. +- Dropped support for CocoaPods. + 3.0.0 ----- From 1fb7cee313935d762869ef2cb2ff06c8117a56e4 Mon Sep 17 00:00:00 2001 From: Jesse Squires Date: Tue, 24 Dec 2024 15:11:20 -0800 Subject: [PATCH 6/6] xcode 16.2 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a834c09..961f311 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ on: - main env: - DEVELOPER_DIR: /Applications/Xcode_16.0.app/Contents/Developer + DEVELOPER_DIR: /Applications/Xcode_16.2.app/Contents/Developer jobs: main: