diff --git a/.travis.yml b/.travis.yml
index 44f3d5507f..e2d8114110 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -68,6 +68,7 @@ matrix:
- go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
# Build the iOS framework and upload it to CocoaPods and Azure
+ - gem uninstall cocoapods -a
- gem install cocoapods --pre
- travis_wait 30 go run build/ci.go xcode -signer IOS_SIGNING_KEY -deploy trunk -upload gethstore/builds
diff --git a/build/mvn.settings b/build/mvn.settings
index 406b409b9b..8d06c048ee 100644
--- a/build/mvn.settings
+++ b/build/mvn.settings
@@ -16,7 +16,7 @@
true
- gpg
+ gpg2