diff --git a/create-openssl-framework.sh b/create-openssl-framework.sh index c61862c..09c5fcd 100755 --- a/create-openssl-framework.sh +++ b/create-openssl-framework.sh @@ -62,10 +62,14 @@ if [ $FWTYPE == "dynamic" ]; then CROSS_SDK="${PLATFORM}${SDKVERSION}.sdk" SDK="${CROSS_TOP}/SDKs/${CROSS_SDK}" - if [[ $PLATFORM == "AppleTV"* ]]; then + if [[ $PLATFORM == AppleTVSimulator* ]]; then + MIN_SDK="-tvos_simulator_version_min 9.0" + elif [[ $PLATFORM == AppleTV* ]]; then MIN_SDK="-tvos_version_min 9.0" elif [[ $PLATFORM == MacOSX* ]]; then MIN_SDK="-macosx_version_min 10.11" + elif [[ $PLATFORM == iPhoneSimulator* ]]; then + MIN_SDK="-ios_simulator_version_min 8.0" else MIN_SDK="-ios_version_min 8.0" fi