Use wildcard for the appname

This commit is contained in:
Sander van der Burg 2013-05-29 14:18:35 +02:00
parent dde4a92c5c
commit cf512cf5c2

View File

@ -8,7 +8,7 @@ stdenv.mkDerivation {
cat > $out/bin/run-test-simulator << "EOF"
#! ${stdenv.shell} -e
cd '${app}/${baseDir}/${name}.app'
cd '${app}/${baseDir}/*.app'
"$(readlink "${xcodewrapper}/bin/iPhone Simulator")" -SimulateApplication './${name}' -SimulateDevice '${device}'
EOF
chmod +x $out/bin/run-test-simulator