platform : ios, '8.0'
target 'NewTest' do
pod 'PLCameraStreamingKit'
platform :ios, '8.0'
target "QiNiu" do
pod 'PLCameraStreamingKit'
end
$(inherited)
在目标工程里的build setting 中的HEADER_SEARCH_PATHS 项,加入$(inherited)
-----------------------------------------
cocoa pods 又更新了
CocoaPods 1.1.0.beta.2 is available.
To update use: `gem install cocoapods --pre`
[!] This is a test version we'd love you to try.
For more information, see https://blog.cocoapods.org and the CHANGELOG for this version at https://github.com/CocoaPods/CocoaPods/releases/tag/1.1.0.beta.2
-----------------------------------------
wdeiMac:~ winni$ brew update
Updated Homebrew from cf71e30 to c3f959d.
Updated 1 tap (homebrew/core).
==> New Formulae
==> Updated Formulae
==> Renamed Formulae
==> Deleted Formulae
==> Migrating HOMEBREW_REPOSITORY (please wait)...
==> Migrated HOMEBREW_REPOSITORY to /usr/local/Homebrew!
Homebrew no longer needs to have ownership of /usr/local. If you wish you can
return /usr/local to its default ownership with:
sudo chown root:wheel /usr/local
wdeiMac:~ winni$ brew install carthage
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
cli53 git-lfs libtiff
==> Downloading https://homebrew.bintray.com/bottles/carthage-0.18.1.el_capitan.
######################################################################## 100.0%
==> Pouring carthage-0.18.1.el_capitan.bottle.tar.gz
==> Caveats
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
zsh completion has been installed to:
/usr/local/share/zsh/site-functions
==> Summary
/usr/local/Cellar/carthage/0.18.1: 49 files, 12.4M
-----------------------------------------
tencentopenapi.framework
pod "Qiniu"
platform:ios,'8.0'
target "QiNiu" do
pod 'PLPlayerKit'
pod 'PLMediaStreamingKit'
end
1、cd 到总目录
2、vim Podfile
3、键盘输入i,进入编辑模式
4、输入需要安装的sdk名称
5、按Esc,并且输入“ :”号进入vim命令模式,然后在冒号后边输入wq
6、 pod install 或者 pod update
platform:ios,'8.0'
target "QiNiu" do
pod 'PLPlayerKit'
pod 'PLMediaStreamingKit'
end
wdeiMac:QiniuLive winni$ pod install
Analyzing dependencies
Downloading dependencies
Installing AFNetworking (3.1.0)
Installing HappyDNS (0.3.10)
Installing PLMediaStreamingKit (2.1.3)
Installing PLPlayerKit (2.3.0)
Installing Qiniu (7.1.1)
Installing pili-ffmpeg (3.1.0)
Installing pili-librtmp (1.0.5)
Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use `QiniuLive.xcworkspace` for this project from now on.
Sending stats
Pod installation complete! There are 3 dependencies from the Podfile and 7 total
pods installed.
[!] The `QiniuLive [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-QiniuLive/Pods-QiniuLive.debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
[!] The `QiniuLive [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Target Support Files/Pods-QiniuLive/Pods-QiniuLive.release.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.