Skip to content

Commit

Permalink
fix (Laerdal.Mac.CompileAndGenerateFatLibs.sh): fix the way we initia…
Browse files Browse the repository at this point in the history
…lize XCODEBUILD_TARGET_SDK_VERSION
  • Loading branch information
ksidirop-laerdal committed Jul 9, 2024
1 parent 078e34f commit ea1aa43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Note that all parameters passed to xcodebuild must be in the form of -parameter value instead of --parameter

declare XCODEBUILD_TARGET_SDK="${XCODEBUILD_TARGET_SDK:-iphoneos}"
declare XCODEBUILD_TARGET_SDK_VERSION="${XCODEBUILD_TARGET_SDK}" # xcodebuild -showsdks
declare XCODEBUILD_TARGET_SDK_VERSION="${XCODEBUILD_TARGET_SDK_VERSION}" # xcodebuild -showsdks

if [ "$XCODEBUILD_TARGET_SDK" == "iphoneos" ] && [ -z "$XCODEBUILD_TARGET_SDK_VERSION" ]; then # ios
XCODEBUILD_TARGET_SDK_VERSION="17.2"
Expand Down

0 comments on commit ea1aa43

Please sign in to comment.