Skip to content

Commit

Permalink
macOS 11 minimum
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesquires committed Jan 27, 2024
1 parent 20922cd commit d849346
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The changelog for `StatusItemController`. Also see the [releases](https://github

### Changes

- Now requires minimum macOS 10.15
- Now requires minimum macOS 11.0
- By default, `StatusItemController` now sets the status item `tooltip` to the app name (based on the main bundle).
- `NSMenuItem` convenience init now accepts an optional image. It is `nil` by default.

Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import PackageDescription
let package = Package(
name: "StatusItemController",
platforms: [
.macOS(.v10_15)
.macOS(.v11)
],
products: [
.library(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This component is used in [Red Eye](https://www.hexedbits.com/redeye/) and [Luci

## Requirements

- macOS 10.15+
- macOS 11.0+
- Swift 5.9+
- Xcode 15.0+
- [SwiftLint](https://github.com/realm/SwiftLint)
Expand Down
2 changes: 1 addition & 1 deletion Sources/NSApplication+Extensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
//
// Copyright © 2020-present Jesse Squires, Hexed Bits
// https://www.hexedbits.com
//
//

import AppKit

Expand Down
4 changes: 1 addition & 3 deletions StatusItemController.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/*.swift'

s.swift_version = '5.9'

s.osx.deployment_target = '10.15'

s.osx.deployment_target = '11.0'
s.requires_arc = true
end
4 changes: 2 additions & 2 deletions StatusItemController.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -365,7 +365,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.15;
MACOSX_DEPLOYMENT_TARGET = 11.0;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
SDKROOT = macosx;
Expand Down

0 comments on commit d849346

Please sign in to comment.