Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xcode 16 + Swift 6 + infra updates #71

Merged
merged 6 commits into from
Dec 25, 2024
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 @@ -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
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/pod-lint.yml

This file was deleted.

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
-----

Expand Down
18 changes: 0 additions & 18 deletions Nine41.podspec

This file was deleted.

4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -24,5 +24,5 @@ let package = Package(
path: "Sources"
)
],
swiftLanguageVersions: [.v5]
swiftLanguageModes: [.v6]
)
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down