Skip to content

Commit 509b284

Browse files
committed
エラーメッセージを出すようにする
1 parent 7cbc8cd commit 509b284

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ jobs:
3535
rm Podfile && mv Podfile.dev Podfile
3636
pod repo update
3737
pod install
38-
nm ./Pods/WebRTC/WebRTC.xcframework/ios-arm64/WebRTC.framework/WebRTC | grep _kVTVideoEncoderSpecification_RequiredLowLatency >/dev/null 2>&1 && echo 'Non-public API' 2>/dev/null && exit 1; rm -rf Pods/ Podfile.lock Sora.xcworkspace/
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
42+
rm -rf Pods/ Podfile.lock Sora.xcworkspace/
3943
- name: Build Xcode Project
4044
run: |
4145
set -o pipefail && \

0 commit comments

Comments
 (0)