mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-13 18:25:45 +00:00
Ignore errors for rm
command when bundling status-go for iOS.
Right after `git clone`, there is no `Statusgo.framework` in `react-native-status/ios/RCTStatus/` directory. Because of that, `scripts/bundle-status-go.sh` fails and stops on the `rm` operation. Since it is a perfectly valid scenario, let's ignore this error. Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
This commit is contained in:
parent
90a0058a43
commit
a3c02b07a6
@ -28,7 +28,7 @@ cd ..
|
||||
# Instead we are going to manually overwrite it.
|
||||
|
||||
# For Xcode to pick up the new version, remove the whole framework first:
|
||||
rm -r status-react/modules/react-native-status/ios/RCTStatus/Statusgo.framework/
|
||||
rm -r status-react/modules/react-native-status/ios/RCTStatus/Statusgo.framework/ || true
|
||||
|
||||
# Then copy over framework:
|
||||
cp -R status-go/build/bin/statusgo-ios-9.3-framework/Statusgo.framework status-react/modules/react-native-status/ios/RCTStatus/Statusgo.framework
|
||||
|
Loading…
x
Reference in New Issue
Block a user