Skip to content

Commit 20117c2

Browse files
authored
Merge pull request #224 from shiguredo/feature/reject-non-public-api-binary
非公開 API が含まれていた場合エラーにする
2 parents 3beaedc + fc0aa54 commit 20117c2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
rm Podfile && mv Podfile.dev Podfile
3636
pod repo update
3737
pod install
38+
if nm ./Pods/WebRTC/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC | grep _kVTVideoEncoderSpecification_RequiredLowLatency >/dev/null 2>&1; then
39+
echo 'Error: Non-public API detected in WebRTC framework.'
40+
exit 1
41+
fi
3842
- name: Build Xcode Project
3943
run: |
4044
set -o pipefail && \

0 commit comments

Comments
 (0)