我正在尝试为 WePay 框架创建绑定: https ://github.com/wepay/wepay-ios
以下是我遵循的步骤。
- 我安装了 CocoaPods。
- 我安装了ObjectiveSharpie
- 我在终端中运行这个命令:
$ sharpie pod init ios WePay
我得到这个错误:无法安装 CocoaPod
这是完整的错误信息:
** Setting up CocoaPods master repo ...
(第一次这可能需要一段时间)设置 CocoaPods master repo $ /usr/bin/git pull --ff-only 来自https://github.com/CocoaPods/Specs
ee36ba4..8c6767d master -> origin/master更新 ee36ba4..8c6767d 快进规格/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