Skip to content

Commit

Permalink
Lower deployment target to macOS 12
Browse files Browse the repository at this point in the history
  • Loading branch information
calda committed Mar 7, 2024
1 parent 83f7869 commit 975d4cd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,7 @@ jobs:
strategy:
matrix:
xcode:
- '13.2.1' # Swift 5.5 (lowest)
- '14.0.1' # Swift 5.7 (highest)
- '14.0.1' # Swift 5.7
steps:
- uses: actions/checkout@v2
- uses: ./.github/actions/setup
Expand Down
4 changes: 2 additions & 2 deletions Example/Example-macOS.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 14.0;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.airbnb.epoxy.Example-macOS";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down Expand Up @@ -348,7 +348,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks";
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
MACOSX_DEPLOYMENT_TARGET = 14.0;
MACOSX_DEPLOYMENT_TARGET = 12.0;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = "com.airbnb.epoxy.Example-macOS";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
2 changes: 1 addition & 1 deletion Example/Example-macOS/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ struct LayoutDemoView: View {

extension NSImage {
static var example: NSImage {
NSImage(resource: ImageResource(name: "ExampleImage", bundle: .main))
NSImage(named: "ExampleImage")!
}
}

0 comments on commit 975d4cd

Please sign in to comment.