Skip to content

Commit

Permalink
Possible fix for signing issues + improve build script
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoNatan committed Jun 5, 2017
1 parent 4a7bdec commit 10d3441
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions detox/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
BABEL_ENV=test babel src -d lib
if [ "$1" != "noframework" ]; then
echo -e "\nBuilding Detox.framework"
rm -fr Detox.framework
xcodebuild build -project ios/Detox.xcodeproj -scheme DetoxFramework -configuration Release -derivedDataPath DetoxBuild > /dev/null
cp -r DetoxBuild/Build/Products/Release-universal/Detox.framework .
cp -fr DetoxBuild/Build/Products/Release-universal/Detox.framework .
rm -fr DetoxBuild
tar -cjf Detox.framework.tbz Detox.framework
fi
fi

0 comments on commit 10d3441

Please sign in to comment.