···1616 extraArgs = removeAttrs args ([ "name" ] ++ builtins.attrNames androidSdkFormalArgs);
1717in
1818stdenv.mkDerivation ({
1919- name = lib.replaceChars [" "] [""] name; # Android APKs may contain white spaces in their names, but Nix store paths cannot
1919+ name = lib.replaceStrings [" "] [""] name; # Android APKs may contain white spaces in their names, but Nix store paths cannot
2020 ANDROID_HOME = "${androidsdk}/libexec/android-sdk";
2121 buildInputs = [ jdk ant ];
2222 buildPhase = ''
···5353 extraArgs = removeAttrs args ([ "name" "scheme" "xcodeFlags" "release" "certificateFile" "certificatePassword" "provisioningProfile" "signMethod" "generateIPA" "generateXCArchive" "enableWirelessDistribution" "installURL" "bundleId" "version" ] ++ builtins.attrNames xcodewrapperFormalArgs);
5454in
5555stdenv.mkDerivation ({
5656- name = lib.replaceChars [" "] [""] name; # iOS app names can contain spaces, but in the Nix store this is not allowed
5656+ name = lib.replaceStrings [" "] [""] name; # iOS app names can contain spaces, but in the Nix store this is not allowed
5757 buildPhase = ''
5858 # Be sure that the Xcode wrapper has priority over everything else.
5959 # When using buildInputs this does not seem to be the case.