-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/wallet-send-2
* main: downgrade cocoapods to 1.9.3 (#76)
- Loading branch information
Showing
5 changed files
with
230 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env bash | ||
CUR_COCOAPODS_VER=`sed -n -e 's/^COCOAPODS: \([0-9.]*\)/\1/p' ios/Podfile.lock` | ||
ENV_COCOAPODS_VER=`pod --version` | ||
|
||
# check if not the same version, reinstall cocoapods version to current project's | ||
if [ $CUR_COCOAPODS_VER != $ENV_COCOAPODS_VER ]; | ||
then | ||
echo "Uninstalling all CocoaPods versions" | ||
sudo gem uninstall cocoapods --all --executables | ||
echo "Installing CocoaPods version $CUR_COCOAPODS_VER" | ||
sudo gem install cocoapods -v $CUR_COCOAPODS_VER | ||
else | ||
echo "CocoaPods version is suitable for the project" | ||
fi; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.