Browse Source

ios: strip bitcode when releasing the SDK

master
Saúl Ibarra Corretgé 6 years ago
parent
commit
1c809eb428
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      ios/scripts/release-sdk.sh

+ 4
- 0
ios/scripts/release-sdk.sh View File

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

Loading…
Cancel
Save