File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 run : |
6464 cd testapp
6565 ionic cordova platform add ios@latest
66- ionic cordova build ios --no-interactive -- --buildFlag="-sdk iphonesimulator"
66+ # run the patch script from the repository root to adjust generated iOS files in CI
67+ bash ../../scripts/patch-ios.sh platforms/ios
68+ # build and instruct Cordova/Xcode to use the xcconfig the script creates
69+ ionic cordova build ios --no-interactive -- --buildFlag="-xcconfig platforms/ios/xcconfigs/ci-overrides.xcconfig" --buildFlag="-sdk iphonesimulator"
6770
6871 test-capacitor :
6972 name : Test (Capacitor)
@@ -118,4 +121,6 @@ jobs:
118121 cd testapp
119122 ionic cap add ios
120123 npx cap sync ios
121- xcodebuild -workspace ios/App/App.xcworkspace -scheme App -sdk iphonesimulator -configuration Debug build
124+ # run the patch script to adjust generated Capacitor iOS files in CI
125+ bash ../../scripts/patch-ios.sh ios
126+ xcodebuild -workspace ios/App/App.xcworkspace -scheme App -sdk iphonesimulator -configuration Debug build -xcconfig ios/xcconfigs/ci-overrides.xcconfig
You can’t perform that action at this time.
0 commit comments