ios: strip bitcode when releasing the SDK

This commit is contained in:
Saúl Ibarra Corretgé 2019-05-15 13:28:46 +02:00 committed by Saúl Ibarra Corretgé
parent e94edcd4ae
commit 1c809eb428
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,10 @@ pushd ${RELEASE_REPO}
cp -r ${PROJECT_REPO}/ios/sdk/JitsiMeet.framework Frameworks/
cp -r ${PROJECT_REPO}/node_modules/react-native-webrtc/ios/WebRTC.framework Frameworks/
# Strip bitcode
xcrun bitcode_strip -r Frameworks/JitsiMeet.framework/JitsiMeet -o Frameworks/JitsiMeet.framework/JitsiMeet
xcrun bitcode_strip -r Frameworks/WebRTC.framework/WebRTC -o Frameworks/WebRTC.framework/WebRTC
# Add all files to git
git add -A .
git commit -m "${SDK_VERSION}"