Skip to content
This repository has been archived by the owner on Aug 19, 2020. It is now read-only.

Commit

Permalink
Build for iPhone 11 simulator instead of iPhone 6
Browse files Browse the repository at this point in the history
iPhone 6 simulator is no longer present in Xcode 11.0.
  • Loading branch information
markspanbroek committed Sep 24, 2019
1 parent 2640f9d commit 97938c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wrappers/ios/libindy-pod/universal_framework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ else
export ALREADYINVOKED="true"

echo "Step 1. Building for iPhoneSimulator"
xcodebuild -workspace "${WORKSPACE_PATH}" -scheme "${SCHEME_NAME}" -configuration ${CONFIGURATION} -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6' ONLY_ACTIVE_ARCH=NO ARCHS='i386 x86_64' BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" ENABLE_BITCODE=YES OTHER_CFLAGS="-fembed-bitcode" BITCODE_GENERATION_MODE=bitcode clean build
xcodebuild -workspace "${WORKSPACE_PATH}" -scheme "${SCHEME_NAME}" -configuration ${CONFIGURATION} -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 11' ONLY_ACTIVE_ARCH=NO ARCHS='i386 x86_64' BUILD_DIR="${BUILD_DIR}" BUILD_ROOT="${BUILD_ROOT}" ENABLE_BITCODE=YES OTHER_CFLAGS="-fembed-bitcode" BITCODE_GENERATION_MODE=bitcode clean build
if [ "$?" != "0" ]
then
echo "[ERROR]: FAILED Step 1: Building for iPhoneSimulator";
Expand Down

0 comments on commit 97938c5

Please sign in to comment.