Cocoapods pod Install no Xcworkspace

Source: Internet
Author: User
Tags install cocoapods
Problem Description:
——— > Terminal display: Abort trap:6
——— > has a pods file, but it doesn't generate xcworkspace


Attention:
Ensure that your ' podfile ' file format is

Platform:ios, ' 8.0 '
use_frameworks!

Target ' MyApp ' do
Pod ' afnetworking ', ' ~> 2.6 '
Pod ' Orstackview ', ' ~> 3.0 '
Pod ' Swiftyjson ', ' ~> 2.3 '
End



First remember to replace http:
Taobao upgrade HTTP protocol to HTTPS
Replace the original HTTP gem with this sentence
$ gem Sources--remove http://ruby.taobao.org/--add https://ruby.taobao.org/
After successful input
$ gem sources-l
Can see the changed gem source
Current SOURCES * * *
https://ruby.taobao.org/

Mac 10.11 Cocoapods install sudo gem install-n/usr/local/bin cocoapods



How to resolve:
———————— > Note: For each step, install it, and then go ahead and try the next one.

Then:
-Gem Install Cocoapods

If not, then:
-Upgrade your Ruby environment


If not, then:
-sudo gem update--system
-sudo gem install cocoapods
-Pod Setup

If not, then:
/* Two commands cleaned up the local cache of pods and re-executed the next pod Setup command */
-Sudo rm-fr ~/.cocoapods/repos/master
-Sudo rm-fr ~/library/caches/cocoapods/
-Pod Setup


If not: (This is my last successful solution)
-sudo gem uninstall cocoapods/* Note: (select Gem to uninstall:) may let you choose a version */
-sudo gem install cocoapods--pre




Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.