diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6d8cd2b..961f311 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.2.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 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/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 ----- 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 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] ) 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