xcodeenv: make it work with Xcode 8.2.1

This commit is contained in:
Sander van der Burg
2017-01-25 16:56:55 +01:00
parent ca7923f111
commit 0f6eab52e1
8 changed files with 11 additions and 18 deletions

View File

@@ -25,7 +25,7 @@ stdenv.mkDerivation {
# Copy the app and restore the write permissions
appTmpDir=$(mktemp -d -t appTmpDir)
cp -r "$(echo ${app}/*.app)" $appTmpDir
cp -r "$(echo ${app}/*.app)" "$appTmpDir"
chmod -R 755 "$(echo $appTmpDir/*.app)"
# Wait for the simulator to start
@@ -33,7 +33,7 @@ stdenv.mkDerivation {
read
# Install the app
xcrun simctl install $udid "$(echo $appTmpDir/*.app)"
xcrun simctl install "$udid" "$(echo $appTmpDir/*.app)"
# Remove the app tempdir
rm -Rf $appTmpDir
@@ -45,4 +45,3 @@ stdenv.mkDerivation {
chmod +x $out/bin/run-test-simulator
'';
}