Skip to content

Commit

Permalink
fix(Linker): 114820860 - Manually linking with Swift 5.0 AppKit libra…
Browse files Browse the repository at this point in the history
…ry so apps compiled with Xcode 15 do not crash at launch on macOS 10.13 and earlier.
  • Loading branch information
macmade committed Oct 4, 2023
1 parent 023ceb7 commit 93157bd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions ColorSetKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,10 @@
buildSettings = {
DEVELOPMENT_TEAM = J5PR93692Y;
MACOSX_DEPLOYMENT_TARGET = 10.13;
OTHER_LDFLAGS = (
"$(inherited)",
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib",
);
};
name = Debug;
};
Expand All @@ -434,6 +438,10 @@
buildSettings = {
DEVELOPMENT_TEAM = J5PR93692Y;
MACOSX_DEPLOYMENT_TARGET = 10.13;
OTHER_LDFLAGS = (
"$(inherited)",
"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/macosx/libswiftAppKit.dylib",
);
};
name = Release;
};
Expand Down

0 comments on commit 93157bd

Please sign in to comment.