Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated default iOS & tvos versions in scripts. #377

Merged
merged 2 commits into from
Aug 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/all-tests.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh

if [ "$1" == "iOS" ]; then
set -o pipefail && xcodebuild test -verbose -scheme "RxBluetoothKit iOS" -destination "platform=iOS Simulator,OS=11.3,name=iPhone 8" ONLY_ACTIVE_ARCH=NO | xcpretty
set -o pipefail && xcodebuild test -verbose -scheme "RxBluetoothKit iOS" -destination "platform=iOS Simulator,OS=13.6,name=iPhone 8" ONLY_ACTIVE_ARCH=NO | xcpretty
elif [ "$1" == "macOS" ]; then
set -o pipefail && xcodebuild test -verbose -scheme "RxBluetoothKit macOS" ONLY_ACTIVE_ARCH=NO | xcpretty
elif [ "$1" == "tvOS" ]; then
set -o pipefail && xcodebuild test -verbose -scheme "RxBluetoothKit tvOS" -destination "platform=tvOS Simulator,OS=11.0,name=Apple TV 4K" ONLY_ACTIVE_ARCH=NO | xcpretty
set -o pipefail && xcodebuild test -verbose -scheme "RxBluetoothKit tvOS" -destination "platform=tvOS Simulator,OS=13.4,name=Apple TV 4K" ONLY_ACTIVE_ARCH=NO | xcpretty
elif [ "$1" == "watchOS" ]; then
echo "watchOS Unit Testing not yet available"
exit 0
Expand Down
4 changes: 2 additions & 2 deletions scripts/generate-mocks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ fi
IOS_VERSION="$1"

if [ -z "$IOS_VERSION" ]; then
echo "Please specify ios version to compile (default 12.2):"
echo "Please specify ios version to compile (default 13.6):"
read IOS_VERSION
if [ -z "$IOS_VERSION" ]; then
IOS_VERSION="12.2"
IOS_VERSION="13.6"
fi
fi

Expand Down