cocoaPods problems encountered in the use

The following are the problems I encountered with the use of CocoaPods
1:http ->https
Error fetching http://ruby.taobao.org/:
bad response Not Found 404 (http://ruby.taobao.org/specs.4.8.gz)
Solution: The installation process GEM Sources -a $ http://ruby.taobao.org/    --- instead ----> $ GEM Sources -a https://ruby.taobao.org/
2: Permissions
ERROR:  While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/pod
Solution: Apple plug-in error after the upgrade OS X EL Capitan occur, the installation process 4. (1) sudo gem install cocoapods installation of CocoaPods -> read sudo gem install -n / usr / local / bin cocoa pods
3: version number
[!] Unable to satisfy the following requirements: - `AVOSCloud (~> 3.1.6.3)` required by `Podfile`
Specs satisfying the `AVOSCloud (~> 3.1.6.3)` dependency were found, but they required a higher minimum deployment target.
Solution: Install Process: Podfile file platform: ios, '6.0' is the platform behind the 6.0 version number, be sure to add
4 :[!] The dependency `AFNetworking (~> 3.1.0)` is not used in any concrete target.
The reason: After CocoaPods upgrade, the contents of the file format Podfile requirements change, pointed out that the target must be noted that third-party libraries used. 
Solution: Modify the contents of Podfile

Note: 1, you need to Podfile document clearly states that the target using third-party libraries; 2, here is their target followed by the Target project itself; that is, a project in the project name tagrets
 
 
 
 

Guess you like

Origin blog.csdn.net/maolianshuai/article/details/51858648