lol

xcodebuild: fix to make it build against the 11.2 iphone SDK

+4 -2
+4 -2
pkgs/development/mobile/xcodeenv/build-app.nix
··· 1 1 {stdenv, xcodewrapper}: 2 2 { name 3 3 , src 4 - , sdkVersion ? "10.2" 4 + , sdkVersion ? "11.2" 5 5 , target ? null 6 6 , configuration ? null 7 7 , scheme ? null ··· 80 80 ''} 81 81 82 82 # Do the building 83 + export LD=clang # To avoid problem with -isysroot parameter that is unrecognized by the stock ld. Comparison with an impure build shows that it uses clang instead. Ugly, but it works 84 + 83 85 xcodebuild -target ${_target} -configuration ${_configuration} ${stdenv.lib.optionalString (scheme != null) "-scheme ${scheme}"} -sdk ${_sdk} TARGETED_DEVICE_FAMILY="1, 2" ONLY_ACTIVE_ARCH=NO CONFIGURATION_TEMP_DIR=$TMPDIR CONFIGURATION_BUILD_DIR=$out ${if generateXCArchive then "archive" else ""} ${xcodeFlags} ${if release then ''"CODE_SIGN_IDENTITY=${codeSignIdentity}" PROVISIONING_PROFILE=$PROVISIONING_PROFILE OTHER_CODE_SIGN_FLAGS="--keychain $HOME/Library/Keychains/$keychainName-db"'' else ""} 84 - 86 + 85 87 ${stdenv.lib.optionalString release '' 86 88 ${stdenv.lib.optionalString generateIPA '' 87 89 # Produce an IPA file