Created
April 15, 2024 13:47
-
-
Save T1T4N/1038bc05d602cec48ff5802709aad7d1 to your computer and use it in GitHub Desktop.
Swift flags to disable automatic linking
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://milen.me/writings/auto-linking-on-ios-and-macos/ | |
// This works | |
OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -disable-autolink-framework -Xfrontend TestFramework | |
// This doesn't work, even though it is referenced here: | |
// https://github.com/apple/swift/blob/main/include/swift/Option/FrontendOptions.td#L531C47-L531C74 | |
//OTHER_SWIFT_FLAGS = $(inherited) -Xfrontend -disable-autolink-frameworks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment