我正在尝试为WePay框架创建一个绑定: https://github.com/wepay/wepay-ios
以下是我遵循的步骤。
$ sharpie pod init ios WePay
我收到此错误:无法安装CocoaPod
这是完整的错误消息:
** Setting up CocoaPods master repo ...
(第一次可能需要一段时间)
设置CocoaPods主仓库
$ / usr / bin / git pull --ff-only
来自https://github.com/CocoaPods/Specs
ee36ba4..8c6767d master - >产地/主
正在更新ee36ba4..8c6767d
快进
Specs / BluetoothKit / 0.3.0 / BluetoothKit.podspec.json | 35 ++++++++++++++++++++++++++++
1个文件被更改,35个插入(+)
创建模式100644 Specs / BluetoothKit / 0.3.0 / BluetoothKit.podspec.json
安装完成
**搜索请求的CocoaPods ......
**工作目录:
** - 编写Podfile ...
** - 安装CocoaPods ......
**(正在运行pod install --no-integrate --no-repo-update
)
[!]未知选项:--no-integrate
你的意思是: - no-ansi?
用法:
$ pod install
Downloads all dependencies defined in `Podfile` and creates an Xcode Pods
library project in `./Pods`.
The Xcode project file should be specified in your `Podfile` like this:
project 'path/to/XcodeProject.xcodeproj'
If no project is specified, then a search for an Xcode project will be
made. If more than one Xcode project is found, the command will raise an
error.
This will configure the project to reference the Pods static library, add
a build configuration file, and add a post build script to copy Pod
resources.
选项:
--repo-update Force running `pod repo update` before
install
--project-directory=/project/dir/ The path to the root of the project
directory
--silent Show nothing
--verbose Show more debugging information
--no-ansi Show output without ANSI codes
--help Show help banner of specified command
错误:无法安装CocoaPod
答案 0 :(得分:2)