Skip to content

Commit 686834c

Browse files
Owen McGirrOwen McGirr
authored andcommitted
fix(ci): declare export compliance for tag builds
1 parent e6063b2 commit 686834c

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/testflight-internal-release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,19 @@ jobs:
127127
working-directory: source
128128
run: npx expo prebuild --clean --platform ios --no-install
129129

130+
- name: Declare export compliance for the released source
131+
if: steps.preflight.outputs.decision == 'upload'
132+
working-directory: source
133+
shell: bash
134+
run: |
135+
info_plist='ios/SwitchifyRemote/Info.plist'
136+
/usr/libexec/PlistBuddy \
137+
-c 'Set :ITSAppUsesNonExemptEncryption false' \
138+
"$info_plist" 2> /dev/null || \
139+
/usr/libexec/PlistBuddy \
140+
-c 'Add :ITSAppUsesNonExemptEncryption bool false' \
141+
"$info_plist"
142+
130143
- name: Install CocoaPods dependencies
131144
if: steps.preflight.outputs.decision == 'upload'
132145
working-directory: source/ios

0 commit comments

Comments
 (0)