Skip to content

Commit

Permalink
Tweaks to iOS build script
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Dec 21, 2021
1 parent 876c189 commit d355a33
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/ios_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ echo "Running CMake configuration..."
if [ "$2" == "clean" ]; then rm -Rf build-ios; fi

# generate new builds
if [ "$1" == "configure" ]; then
cmake -Bbuild-ios -GXcode -DCMAKE_SYSTEM_NAME=iOS \
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.4 \
-DCMAKE_XCODE_ATTRIBUTE_DEVELOPMENT_TEAM="$TEAM_ID" \
-DCMAKE_XCODE_ATTRIBUTE_TARGETED_DEVICE_FAMILY="1,2" \
-DCMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE="NO"
-DCMAKE_XCODE_ATTRIBUTE_ENABLE_BITCODE="NO" \
-DCMAKE_XCODE_ATTRIBUTE_ENABLE_IN_APP_PURCHASE="YES"
fi

if [ "$1" == "build" ]; then
xcodebuild -project build-ios/ChowMatrix.xcodeproj \
Expand Down

0 comments on commit d355a33

Please sign in to comment.