当前位置:网站首页>Installation and use of cocoapods
Installation and use of cocoapods
2022-07-26 09:50:00 【~ light boat ~】
Installing today cocoapods What happened when I was a kid :
First installation cocoapods Execute the command line :sudo gem install cocoapods
There will be this mistake :
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - Errno::ECONNREFUSED: Connection refused - connect(2) (https://rubygems.org/quick/Marshal.4.8/cocoapods-0.37.1.gemspec.rz)
ERROR: Possible alternatives: cocoapodsThis is because service By the wall , I want another one sources:
gem sources --remove https://rubygems.org/
gem sources -a http://ruby.taobao.org/
gem sources -lIf the printed thing is :
http://ruby.taobao.orgThen perform the installation cocoapods command :
sudo gem install cocoapodsThen you will see the installation process , Then congratulations on your completion !!!
Next, create a new project QZProject
$ cd xxxxxxxxxxxx For project directory , Just drag the project to the terminal
newly build Podfile file
$ vim PodfileInput i Enter editing status , Current high version Podfie Written like this
$ platform: ios,'8.0'
$ target 'QZProject' do
$ pod 'SDAutoLayout'
$ end Knock after completion esc then :wq( Save and exit )
Last
$ pod installcomplete
When you encounter a problem : 
It can be solved in this way :
stay Podfile Add to file :
use_frameworks! that will do !!!
Continuous updating
边栏推荐
- Azkaban [basic knowledge 01] core concepts + features +web interface + Architecture +job type (you can get started with Azkaban workflow scheduling system in one article)
- WARNING: [pool www] server reached pm. max_ children setting (5), consider raising it
- Calling DLL to start thread
- QT随手笔记(六)——更新界面、截图、文件对话框
- Flutter event distribution
- Nodejs service background execution (forever)
- Solve the problem of storing cookies in IE7 & IE8
- Spolicy request case
- 高斯消元
- PHP executes shell script
猜你喜欢

小白搞一波深拷贝 浅拷贝

Development to testing: a six-year road to automation starting from 0

QT handy notes (III) use qtcharts to draw a line chart in VS

高斯消元求解矩阵的逆(gauss)

I finished watching this video on my knees at station B

解决npm -v突然失效 无反应

Fiddler download and installation

2021 windows penetration of "Cyberspace Security" B module of Shandong secondary vocational group (analysis)

Solve NPM -v sudden failure and no response

Unstoppable, pure domestic PCs have been in place, and the monopoly of the U.S. software and hardware system has been officially broken
随机推荐
R language ggplot2 visualization: align the legend title to the middle of the legend box in ggplot2 (default left alignment, align legend title to middle of legend)
A new paradigm of distributed deep learning programming: Global tensor
The use of MySQL in nodejs
小白搞一波深拷贝 浅拷贝
POJ 1012 Joseph
苹果独占鳌头,三星大举复兴,国产手机在高端市场颗粒无收
R language ggpubr package ggsummarystats function visualizes the grouping box diagram (custom grouping color) and adds the statistical values corresponding to the grouping under the x-axis label (samp
PMM (percona monitoring and management) installation record
开发转测试:从0开始的6年自动化之路...
Double authentication of server and client
QT handy notes (III) use qtcharts to draw a line chart in VS
asp. Net using redis cache (2)
Malloc failed to allocate space and did not return null
Global variables in DLL
Fiddler packet capturing tool for mobile packet capturing
阿里云技术专家郝晨栋:云上可观测能力——问题的发现与定位实践
Node 内存溢出及V8垃圾回收机制
SSG框架Gatsby访问数据库,并显示到页面上
2019 ICPC Asia Yinchuan Regional(水题题解)
Spolicy request case