Skip to content

Commit a3dee46

Browse files
committed
ci(cordova-ios): use absolute xcconfig path; set IPHONEOS_DEPLOYMENT_TARGET in xcconfig
1 parent ac708c2 commit a3dee46

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ jobs:
6969
pod --version || true
7070
if [ -f platforms/ios/Podfile ]; then (cd platforms/ios && pod install --repo-update); fi
7171
# build and instruct Cordova/Xcode to use the xcconfig the script creates
72+
XCOV=$(pwd)/platforms/ios/xcconfigs/ci-overrides.xcconfig
7273
ionic cordova build ios --no-interactive -- \
73-
--buildFlag="-xcconfig platforms/ios/xcconfigs/ci-overrides.xcconfig" \
74+
--buildFlag="-xcconfig ${XCOV}" \
7475
--buildFlag="-sdk iphonesimulator" \
7576
--buildFlag="-destination generic/platform=iOS Simulator"
7677

scripts/patch-ios.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ PODPATCH
106106
HEADER_SEARCH_PATHS = $(inherited) $(DERIVED_FILE_DIR)/GeneratedModuleMaps-iphonesimulator
107107
EXCLUDED_ARCHS[sdk=iphonesimulator*] = arm64
108108
ONLY_ACTIVE_ARCH = YES
109+
IPHONEOS_DEPLOYMENT_TARGET = 13.0
109110
XC
110111
echo " - Created ${XC_CONFIG_PATH}"
111112

0 commit comments

Comments
 (0)