pod install 时遇到 Automatically assigning platform `iOS` with version `11.0` on target XXX......
pod install的时候遇到的问题:
[!] CDN: trunk Repo update failed - 2 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/1/1/7/SDWebImage/5.13.3/SDWebImage.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/1/1/7/SDWebImage/5.13.4/SDWebImage.podspec.json Response: Timeout was reached
[!] Automatically assigning platform `iOS` with version `11.0` on target `JDDDemo` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.
自己的测试项目,好久没用了,从线上clone下来之后,需要先执行一下
pod install
然后没有按着想像的那样正常走下去,而是报了个这样的错
[!] CDN: trunk Repo update failed - 2 error(s):
CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/1/1/7/SDWebImage/5.13.3/SDWebImage.podspec.json Response: Timeout was reached
CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/Specs/1/1/7/SDWebImage/5.13.4/SDWebImage.podspec.json Response: Timeout was reached[!] Automatically assigning platform `iOS` with version `11.0` on target `JDDDemo` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`
按着提示去到https://guides.cocoapods.org/syntax/podfile.html#platform看了下,大致意思是需要指定平台。打开项目的podfile,如下,将箭头指出的这句注释给解开,好像改不改这个9.0,都可以顺利的pod install下来了。
下图是我遇错的截图:
pod install 时遇到 Automatically assigning platform `iOS` with version `11.0` on target XXX......相关推荐
- Flutter运行报错Automatically assigning platform `iOS` with version `9.0` on target `Runner`...
前言 有时候下载别人项目下来,可能环境有所差异,会运行不起来,这时候你不要急,慢慢看控制台输出,这里面有你想要的解决答案. 报错: Automatically assigning platform ` ...
- flutter报错: [!] Automatically assigning platform `iOS` with version `8.0` on target `Runner` becaus
Error output from CocoaPods: ↳ Cloning into '/var/folders/3y/180hymz900q19mkpp4sbtqnm0000gn/T/d20200 ...
- Automatically assigning platform `iOS` with version `8.0` on target `Runner`
环境:Mac电脑,在vscode中运行flutter run 出现以下报错 之前该代码时注销的,现在放开.podfile是Mac运行自己带出来的文件夹 再运行flutter run 发现还报错 去刚刚 ...
- pod install时出现 Unable to find a specification for `xxxx`
Unable to find a specification for `xxxxx (~> x.x.x)` depended upon by Podfile. Unable to find a ...
- iOS UI基础-11.0 UINavigationController
导航控制器 利用UINavigationController,可以轻松地管理多个控制器,轻松完成控制器之间的切换,典型例子就是系统自带的"设置"应用 UINavigationCon ...
- pod install error(NoMethodError - undefined method `size’ for nil:NilClass)
pod install error(NoMethodError - undefined method `size' for nil:NilClass) 前言 问题截图 问题的相关连接: 解决办法 前言 ...
- iOS进阶 - pod install 与 pod update 读这一篇就够了
前言 在使用CocoaPods时,难免会混淆 pod install 和 pod update 的用法,于是在官网找到了相应的说明文章,并决定翻译过来,供大家学习. 以下内容来自:pod instal ...
- RN pod install 失败(could not find compatible versions for pod “React/Core“)
使用最新版本 React-Native(0.63) 准备嵌入原生项目时, 按照官网教程集成到现有原生项目, 一步一个脚印, 到 pod install 出现如下错误 [!] CocoaPods cou ...
- /usr/local/bin/pod install bug记录
sudo gem update–system 更新后下面bug解决 Analyzing dependencies ――― MARKDOWN TEMPLATE ――――――――――――――――――――― ...
最新文章
- 7篇必读ACM MM 2019论文:图神经网络+多媒体
- c语言autoi函数如何使用,C++的auto声明、memset函数
- leetcode4:Median of Two Sorted Arrays
- 京东java笔试_2017阿里,百度,京东java面试+笔试大合集,2018的你会吗?
- mysql 抛出Lock wait timeout exceeded; try restarting transaction异常
- 字符串的unicode java_Java把字符串转Unicode
- sourceTree中git工作流使用
- 微信小程序中-[渲染层网络层错误] pages/card/card.wxss 中的本地资源图片无法通过 WXSS 获取-解决办法
- matlab拓扑优化算法,拓扑优化算法及其实现.ppt
- 账号密码都正确,使用jdbc连接远程服务器端mysql数据库报错:Access denied for user ‘root‘@‘DESKTOP-KJ79‘ (using password: YES)
- raster包—resample函数
- ASP.NET MVC5中局部视图的更新
- 从零开始理解Android下View(一)----学习笔记(参考郭霖大神博客)
- Mac锁屏 设置快捷键
- win10系统更新之后经常蓝屏解决方法分享
- JavaScript中的Event.target
- 经典:DotNetBar Suite UI 7.9 for WPF Crack
- 厘米换算英尺英寸 (15 分)如果已知英制长度的英尺foot和英寸inch的值,那么对应的米是(foot+inch/12)×0.3048。现在,如果用户输入的是厘米数,那么对应英制长度的英尺和英寸是?
- 操作系统-------OS概述
- 小陈java学习笔记IO