You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

bitcode.sh 446B

123456789101112131415
  1. #!/bin/bash
  2. # This script will download a bitcode build of the WebRTC framework, if needed.
  3. if [[ ! "$CONFIGURATION" = "Debug" ]]; then
  4. RN_WEBRTC="$SRCROOT/../../node_modules/react-native-webrtc"
  5. if otool -arch arm64 -l $RN_WEBRTC/ios/WebRTC.framework/WebRTC | grep -q LLVM; then
  6. echo "WebRTC framework has bitcode"
  7. else
  8. echo "WebRTC framework has NO bitcode"
  9. $RN_WEBRTC/tools/downloadBitcode.sh
  10. fi
  11. fi