appodeal / appodeal-ios-demo

Appodeal iOS SDK Demo Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[!] Error installing AppLovin (cocoapods)

MilaFabio opened this issue · comments

  1. cocoapods-0.39.0
  2. pod 'Appodeal', '~> 0.5' # for XCODE 7 or pod 'Appodeal'
[!] Error installing AppLovin
[!] /usr/bin/curl -f -L -o /var/folders/q1/xvsmc82n7tlgstjjn40q5pqc0000gn/T/d20151215-8873-1d1y6vr/file.tbz http://sdk.applovin.com/applovin-ios-sdk-3.1.3.tar.bz2 --create-dirs

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0curl: (22) The requested URL returned error: 403 Forbidden

How to fix it?

Make sure Appodeal CocoaPods repo appears first in your Podfile:

source 'https://github.com/appodeal/CocoaPods.git'
source 'https://github.com/CocoaPods/Specs.git'

I have:

platform :ios, '8.0'
use_frameworks!
inhibit_all_warnings!

source 'git@github.com:CocoaPods/Specs.git'
source 'git@github.com:appodeal/CocoaPods.git'

I replaced your code, the error has not changed

AppLovin podspec updated to 3.2.1. It should updates now. Make sure you use latest - 0.7.0 version of Appodeal SDK.

pod update --verbose
...

Updating local specs repositories

Updating spec repo `appodeal`
  $ /usr/bin/git pull --ff-only
  From git://github.com/appodeal/CocoaPods
     8521636..6418849  master     -> origin/master
  Updating 8521636..6418849
  Fast-forward
   AppLovin/3.2.1/AppLovin.podspec.json | 36 ++++++++++++++++++++++++++++++++++++
   1 file changed, 36 insertions(+)
   create mode 100644 AppLovin/3.2.1/AppLovin.podspec.json
-> Installing AppLovin (3.1.6)
 > Http download
   $ /usr/bin/curl -f -L -o /var/folders/q1/xvsmc82n7tlgstjjn40q5pqc0000gn/T/d20151215-19299-1pd3jdi/file.tbz
   http://sdk.applovin.com/applovin-ios-sdk-3.1.6.tar.bz2 --create-dirs
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
     0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0curl: (22) The requested URL returned error: 403 Forbidden

[!] Error installing AppLovin
[!] /usr/bin/curl -f -L -o /var/folders/q1/xvsmc82n7tlgstjjn40q5pqc0000gn/T/d20151215-19299-1pd3jdi/file.tbz http://sdk.applovin.com/applovin-ios-sdk-3.1.6.tar.bz2 --create-dirs

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0curl: (22) The requested URL returned error: 403 Forbidden

Thank you so much! Now it works! You helped me a lot.

So what was the solution? I'm facing the same error. I'm trying to install appodeal 0.8.1

-> Installing AppLovin (3.1.3)

Http download
$ /usr/bin/curl -f -L -o
/var/folders/kx/z8_yqlq12s10g164q86bb3s40000gn/T/d20160122-3701-y5yibh/file.tbz
http://sdk.applovin.com/applovin-ios-sdk-3.1.3.tar.bz2 --create-dirs
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 403 Forbidden

rm -rf "${HOME}/Library/Caches/CocoaPods"
rm -rf "pwd/Pods/"
pod update

than

platform :ios, '7.1'
source 'https://github.com/appodeal/CocoaPods.git'
source 'https://github.com/CocoaPods/Specs.git'
pod 'Appodeal', '~> 0.8'
target 'Your App Build Target Name' do
end

I just copied the commands to the console and ran them in the directory of the Podfile. I'm still getting the same error.

There is no SDK at this URL: http://sdk.applovin.com/applovin-ios-sdk-3.1.3.tar.bz2