报错:

[!] /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  着急的能够直接下载静态库放本地.

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

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

    今天打包新版本上传到AppStore时报错 ERROR ITMS-90034:"Missing or invalid signature.The bundle'com.xxx.xxx' at ...

  2. 运行项目npm run dev时报错: ~Error: Cannot find module 'webpack-cli/bin/config-yargs', 原因是

    webpack@3.X运行项目npm run dev时报错: ~Error: Cannot find module 'webpack-cli/bin/config-yargs' 我的原因是:  web ...

  3. Cocoapods的安装报错 - Error installing pods:activesupport requires Ruby version >=2.2.2

    1.打开终端 2 移除现有 Ruby 默认源 输入以下指令 $gem sources --remove https://rubygems.org/ 3.使用新的源 输入以下指令 $gem source ...

  4. 安装模块时报错“error: Microsoft Visual C++ 14.0 is required…”

    安装pymssql时报错:在安装的过程中遇到了“error: Microsoft Visual C++ 14.0 is required…” 解决办法: 进入https://www.lfd.uci.e ...

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

    执行automake时报错: [root@localhost project]# automake --add-missingconfigure.in: installing `./install-s ...

  6. MySQL 从 5.5 升级到 5.6,启动时报错 [ERROR] Plugin 'InnoDB' init function returned error

    MySQL 从 5.5 升级到 5.6,启动时报错: [ERROR] Plugin 'InnoDB' init function returned error. [ERROR] Plugin 'Inn ...

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

    javah生成jni头文件时报错: Error: cannot access android.support.v7.app.AppCompatActivity class file for andro ...

  8. 【maven 报错】maven项目执行maven install时报错Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)

    在使用maven新建的web项目中,执行 执行如上的这两个操作,报错: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-co ...

  9. ArcGIS发布地图服务时报错Error: ArcGIS Server site is currently being configured by another administrative operation. Please try again later.

    2017-06-06试图发布ArcGIS Server站点托管的服务时,返回以下错误消息: ERROR: Service 'test'.'MapServer' in folder '/' is cur ...

随机推荐

  1. eclipse加入辅助线,配合代码格式化使用

  2. HDU ACM 2586 How far away ?LCA->并查集+Tarjan(离线)算法

    题意:一个村子有n个房子,他们用n-1条路连接起来,每两个房子之间的距离为w.有m次询问,每次询问房子a,b之间的距离是多少. 分析:近期公共祖先问题,建一棵树,求出每一点i到树根的距离d[i],每次 ...

  3. 推荐15个月 Node.js 开发工具

    Node.js 越来月流行.这个基于 Google V8 引擎建立的平台, 用于方便地搭建响应速度快.易于扩展的网络应用.在本文中.我们列出了2015年最佳的15个 Node.js 开发工具.这些工具 ...

  4. Form表单中的action路径问题

    今天刚接触web,在用jsp和servlet做一个简单的登陆的时候在Form表单action属性和method属性的一些问题:  我遇到的是Form表单提交到servelet处理时遇到的问题:  (1 ...

  5. C++ 建设者继承

    微通道公用号CodingRush 分享编程.算法.机器人leanring.数据挖掘.推荐系统.知识大数据计算框架,欢迎扫码关注. 子类继承了哪些东西? 子类在继承父类的时候,父类的public成员变量 ...

  6. hdu 2074 堆放篮 好开心图纸标题

    堆放篮 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submis ...

  7. CentOS6.5 Nginx优化编译配置[续]

    继续上文CentOS6.5 Nginx优化编译配置本文记录有关Nginx系统环境的一些细节设置,有关Nginx性能调整除了配置文件吻合服务器硬件之前就是关闭不必要的服务.磁盘操作.文件描述符.内核调整 ...

  8. poj 1959 Darts 同意反复组合

    水题.直接贴代码. //poj 1959 //sep9 #include <iostream> using namespace std; int n; int f[128]; int so ...

  9. 高级项目 它 集群环境建设(两)MySQL簇

    最后博文我们介绍一下相关概念集群,今天我们要介绍的博文MySQL相关内容集群. 1.MySQL集群简单介绍 MySQL群集技术在分布式系统中为MySQL数据提供了冗余特性,增强了安全性,使得单个MyS ...

  10. 【Nginx】开发一个简单的HTTP模块

    首先来分析一下HTTP模块是怎样介入Nginx的. 当master进程fork出若干个workr子进程后,每一个worker子进程都会在自己的for死循环中不断调用事件模块: for ( ;; ) { ...