mirror of https://github.com/oxen-io/session-ios
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
460 B
Diff
13 lines
460 B
Diff
2 years ago
|
@@ -41,0 +41,11 @@
|
||
|
+ # Skip the rsync step for the WebRTC-lib in simulator builds
|
||
|
+ if [[ "$PLATFORM_NAME" == "iphonesimulator" ]] && [[ "$source" == *WebRTC.framework* ]]; then
|
||
|
+ if [[ -f "${source}/../already_rsynced.nonce" ]]; then
|
||
|
+ echo "Already rsynced WebRTC, skipping"
|
||
|
+ return 0
|
||
|
+ fi
|
||
|
+
|
||
|
+ echo "About to rsync a simulator WebRTC, creating nonce to prevent future rsyncing"
|
||
|
+ touch "${source}/../already_rsynced.nonce"
|
||
|
+ fi
|
||
|
+
|