forked from trilemma-dev/SwiftAuthorizationSample
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Swift scripts are compiled before execution for Xcode 15 compa…
…tibility This commit updates the build scripts to compile PropertyListModifier.swift into executables before running them. This change addresses the issue(trilemma-dev#17) introduced in Xcode 15, where running Swift scripts directly can lead to errors due to the updated execution environment handling. By compiling Swift scripts first, we ensure compatibility with Xcode 15 and later versions, while also reducing potential environmental discrepancies.
- Loading branch information
Showing
2 changed files
with
4 additions
and
5 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/usr/bin/env xcrun --sdk macosx swift | ||
// | ||
// PropertyListModifier.swift | ||
// SwiftAuthorizationSample | ||
|
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