使用cocoapods install友盟时报错Error installing UMengAnalytics

报错:

[!] /usr/bin/unzip /Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics/file.zip -d /Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics

Archive:  /Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics/file.zip

End-of-central-directory signature not found.  Either this file is not

a zipfile, or it constitutes one disk of a multi-part archive.  In the

latter case the central directory and zipfile comment will be found on

the last disk(s) of this archive.

unzip:  cannot find zipfile directory in one of /Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics/file.zip or

/Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics/file.zip.zip, and cannot find /Users/soindy/Documents/SmartThermo/ios/SmartThermo/Pods/UMengAnalytics/file.zip.ZIP, period.

检查你的cocoapods是不是最新的.假设你在分析的时候提示你

Analyzing dependencies

CocoaPods 0.37.2 is available.

To update use: `gem install cocoapods`

先更新一下你的cocoapods.(假设单纯的依照提示运行 gem instakk cocoapods 会报错While executing gem ... (Gem::FilePermissionError)You don‘t have write permissions for
the /Library/Ruby/Gems/2.0.0 directory.,详细查看这篇文章: http://blog.csdn.net/soindy/article/details/46470463 )  运行sudo gem instakk cocoapods

然后你会报错:

[!] Error installing UMengAnalytics

[!] /usr/bin/curl -f -L -o /var/folders/0m/7s1flm9j03d35pkr92jcsv3w0000gn/T/d20150612-2631-6dgqct/file.zip http://dev.umeng.com/system/resources/W1siZiIsIjIwMTUvMDUvMTEvMTZfMDJfMTdfNjM3X3Vtc2RrX0lPU19hbmFseXRpY3NfaWRmYV92My41LjguemlwIl1d/umsdk_IOS_analytics_idfa_v3.5.8.zip
--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: 404 Not Found

这个不是网络的问题就是友盟的问题: http://bbs.umeng.com/thread-9178-1-1.html  着急的能够直接下载静态库放本地.

时间: 2024-10-06 18:08:28

使用cocoapods install友盟时报错Error installing UMengAnalytics的相关文章

spring boot maven install时报错 Error creating bean with name 'serverEndpointExporter'

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'serverEndpointExporter' defined in class path resource [com/pky/testmybatis/config/WebSocketConfig.class]: Invocation of init method failed; nested exception is j

Android 运行时报错Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled. 的解决办法

解决方法:在菜单栏,Tools->Android->Enable ADB integration勾选就可以了. Android 运行时报错Error running app: Instant Run requires 'Tools | Android | Enable ADB integration' to be enabled. 的解决办法

Java入门到精通——调错篇之Spring2.5利用aspect实现AOP时报错: error at ::0 can't find referenced pointcut XXX

一.问题描述及原因. 利用Aspect注解实现AOP的时候出现了error at ::0 can't find referenced pointcut XXX.一看我以为注解写错了,结果通过查询相关资料是因为Spring2.5与中的aspectjweaver.jar 和aspectjrt.jar这两个jar包与JDK1.7不匹配. org.springframework.beans.factory.BeanCreationException: Error creating bean with n

打包新版本上传到AppStore时报错 ERROR ITMS-90034:

今天打包新版本上传到AppStore时报错 ERROR ITMS-90034:"Missing or invalid signature.The bundle'com.xxx.xxx' at bundle path 'Payload/xxx' is not signed using an Apple submission certificate." 这个错误是由证书错误导致的,解决这个问题可以按以下步骤依次查找 1.检验发布证书是否有效,打开钥匙串,找到发布证书,发布证书名字中有Dis

如何解决登录OneDrive时报错Error 0x8004de40导致无法登陆?

如何解决登录OneDrive时报错Error 0x8004de40导致无法登陆? ?Lander Zhang 专注外企按需IT基础架构运维服务,IT Helpdesk 实战培训践行者博客:https://blog.51cto.com/lander IT Helpdesk 工程师实战培训课程:https://edu.51cto.com/lecturer/733218.html轻松进外企:IT Helpdesk工程师实战自学之路:https://blog.51cto.com/lander/24130

执行automake时报错 error while making link: Operation not supported

执行automake时报错: [[email protected] project]# automake --add-missingconfigure.in: installing `./install-sh'; error while making link: Operation not supportedconfigure.in: installing `./missing'; error while making link: Operation not supportedMakefile.

javah生成jni头文件时报错 Error: cannot access android.support...

javah生成jni头文件时报错: Error: cannot access android.support.v7.app.AppCompatActivity class file for android.support.v7.app.AppCompatActivity not found Error: cannot access android.support.v4.app.FragmentActivity class file for android.support.v4.app.Fragm

解决 yum安装时报错 Error: Protected multilib versions: 报错

系统中缺少一个lib库 libz.so.1文件,使用yum安装会自动找到相关的rpm包,如下命令 # yum -y install libz.so.1 Resolving Dependencies --> Running transaction check ---> Package zlib.i686 0:1.2.3-29.el6 will be installed --> Finished Dependency Resolution Error: Protected multilib

在centos7.5使用DockerFile构建镜像时报错“Error parsing reference: "microsoft/dotnet:2.2-aspnetcore-runtime AS base" is not a valid repository/tag: invalid reference format”

运行dockerfile时报出的错误 FROM microsoft/dotnet:2.2-aspnetcore-runtime AS base Error parsing reference: "microsoft/dotnet:2.2-aspnetcore-runtime AS base" is not a valid repository/tag: invalid reference format 这个问题一般是由docker的版本错误导致的 FROM microsoft/dotn