diff --git a/pkgs/development/mobile/xcodeenv/simulate-app.nix b/pkgs/development/mobile/xcodeenv/simulate-app.nix index b998e3c2d1ab..96560160bf54 100644 --- a/pkgs/development/mobile/xcodeenv/simulate-app.nix +++ b/pkgs/development/mobile/xcodeenv/simulate-app.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation { cat > $out/bin/run-test-simulator << "EOF" #! ${stdenv.shell} -e - cd '${app}/${baseDir}/*.app' + cd "${app}/${baseDir}/*.app" "$(readlink "${xcodewrapper}/bin/iPhone Simulator")" -SimulateApplication './${name}' -SimulateDevice '${device}' EOF chmod +x $out/bin/run-test-simulator