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:
Igor Mandrigin 2017-12-02 16:27:55 +01:00 committed by Oskar Thoren
parent 90a0058a43
commit a3c02b07a6
No known key found for this signature in database
GPG Key ID: 5128AB0637CD85AF
1 changed files with 1 additions and 1 deletions

View File

@ -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