diff --git a/apple/scripts/format_and_lint.sh b/apple/scripts/format_and_lint.sh index aac7f53d1..bedee3f15 100755 --- a/apple/scripts/format_and_lint.sh +++ b/apple/scripts/format_and_lint.sh @@ -1,5 +1,5 @@ cd BuildTools -SDKROOT=macosx +SDKROOT=(xcrun --sdk macosx --show-sdk-path) # swift package update #Uncomment this line temporarily to update the version used to the latest matching your BuildTools/Package.swift file swift run -c release swiftformat "$SRCROOT" swift run swiftlint --path "$SRCROOT" \ No newline at end of file