使用 CocoaPods 安装 PODS - 第一次安装
Installing PODS with CocoaPods - First time install
我是 CocoaPods 的新手,我正在使用 this tutorial to integrate this 项目到我的 ios 项目中。这就是我 xcode 中的 Podfile 的样子
pod 'BPODial', '~> 0.0.1'
现在,当我尝试安装它时,我得到以下信息
Admin:Test Proj$ pod install
Analyzing dependencies
[!] The platform of the target `Pods` (iOS 8.2) is not compatible with `BPODial (0.0.1)` which has a minimum requirement of OS X 10.8.
我正在使用 xcode 版本 6.2,我不确定这个错误是什么意思?我有办法解决这个问题吗?
您的问题是您尝试使用的 pod 是 OSX,而不是 iOS。所以它不会在移动应用程序中工作。
以防万一您感兴趣,这里有一个关于如何在 iOS 中制作旋钮的教程。
http://www.raywenderlich.com/56885/custom-control-for-ios-tutorial-a-reusable-knob
我是 CocoaPods 的新手,我正在使用 this tutorial to integrate this 项目到我的 ios 项目中。这就是我 xcode 中的 Podfile 的样子
pod 'BPODial', '~> 0.0.1'
现在,当我尝试安装它时,我得到以下信息
Admin:Test Proj$ pod install
Analyzing dependencies
[!] The platform of the target `Pods` (iOS 8.2) is not compatible with `BPODial (0.0.1)` which has a minimum requirement of OS X 10.8.
我正在使用 xcode 版本 6.2,我不确定这个错误是什么意思?我有办法解决这个问题吗?
您的问题是您尝试使用的 pod 是 OSX,而不是 iOS。所以它不会在移动应用程序中工作。
以防万一您感兴趣,这里有一个关于如何在 iOS 中制作旋钮的教程。 http://www.raywenderlich.com/56885/custom-control-for-ios-tutorial-a-reusable-knob