diff --git a/src-cordova/hooks/ios-run-pods.sh b/src-cordova/hooks/ios-run-pods.sh index f4b9fd0d..5acc7bfb 100755 --- a/src-cordova/hooks/ios-run-pods.sh +++ b/src-cordova/hooks/ios-run-pods.sh @@ -1,3 +1,5 @@ #!/bin/bash chmod 0600 /Users/travis/.netrc -pod install --project-directory='./platforms/ios/' +cd ./platforms/ios +pod init +pod install #--project-directory='./platforms/ios/' diff --git a/src-cordova/hooks/ios-update-pods.sh b/src-cordova/hooks/ios-update-pods.sh index 2624d061..bc15ce7d 100755 --- a/src-cordova/hooks/ios-update-pods.sh +++ b/src-cordova/hooks/ios-update-pods.sh @@ -5,7 +5,7 @@ # Should be temporary and fixed in the future with: # https://github.com/apache/cordova-ios/pull/719 -pod init +#pod init #mkdir -p ~/.cocoapods/repos #git clone https://github.com/CocoaPods/Specs ~/.cocoapods/repos/master