rholshausen
02/26/2024, 5:34 AMrholshausen
02/26/2024, 5:35 AMexport SDKROOT=$(xcrun -sdk macosx11.1 --show-sdk-path)
export MACOSX_DEPLOYMENT_TARGET=$(xcrun -sdk macosx11.1 --show-sdk-platform-version)
rholshausen
02/26/2024, 5:36 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
need to understand why there is a need to target the SDK like this (what is this doing to the generated dynlib) and also why it is failingit allows newer versions of xcode to generate binaries which can be used by older versions of macos.
Yousaf Nabi (pactflow.io)
Joshua Ellis
02/26/2024, 11:22 PMJoshua Ellis
02/26/2024, 11:28 PM/Library/Developer/CommandLineTools/SDKs/
directory? E.g., something like:
find /Library/Developer/CommandLineTools/SDKs/ -type d -maxdepth 1 | sort -V | tail -n+2 | head -n1
or perhaps
find /Library/Developer/CommandLineTools/SDKs/ -type d -maxdepth 1 -path '*.sdk' | sort -V | head -n1