Cocoapods Ошибка v0.9.0 - PullRequest
       8

Cocoapods Ошибка v0.9.0

0 голосов
/ 05 июля 2018

Я пытаюсь использовать cocoapods, чтобы попытаться запустить стартовый проект Firebase. При запуске POD я получаю следующий вывод:

POD v0.9.0

Использование: pod [команда]

Команда:

create <app>            Create a new app
remote <app> <repo>     Create a app from a remote GitHub repo
rm <app>                Delete an app
start <app>             Start an app monitored by pm2
stop <app>              Stop an app
restart <app>           Restart an app that's already running
list                    List apps and status
startall                Start all apps not already running
stopall                 Stop all apps
restartall              Restart all running apps
prune                   Clean up dead files
hooks                   Update hooks after a pod upgrade
web [command]           Start/stop/restart the web interface
help                    You are reading it right now

Нет команды INIT, и когда я пытаюсь инициировать POD, она терпит неудачу.

Ответы [ 2 ]

0 голосов
/ 06 июля 2018

Установлено RVM Установлен Рубин побежал: обновление gem --system gem установить рельсы --pre теперь работает POD Использование:

$ pod COMMAND

  CocoaPods, the Cocoa library package manager.

Команда:

+ cache         Manipulate the CocoaPods cache
+ deintegrate   Deintegrate CocoaPods from your project
+ env           Display pod environment
+ init          Generate a Podfile for the current directory
+ install       Install project dependencies according to versions from a
                Podfile.lock
+ ipc           Inter-process communication
+ lib           Develop pods
+ list          List pods
+ outdated      Show outdated project dependencies
+ plugins       Show available CocoaPods plugins
+ repo          Manage spec-repositories
+ search        Search for pods
+ setup         Setup the CocoaPods environment
+ spec          Manage pod specs
+ trunk         Interact with the CocoaPods API (e.g. publishing new specs)
+ try           Try a Pod!
+ update        Update outdated project dependencies and create new Podfile.lock

Параметры:

--silent        Show nothing
--version       Show the version of the tool
--verbose       Show more debugging information
--no-ansi       Show output without ANSI codes
--help          Show help banner of specified command
0 голосов
/ 05 июля 2018

Похоже, у вас не установлены CocoaPods. Вот вывод, когда я запускаю pod сам по себе:

$ pod
Usage:

    $ pod COMMAND

      CocoaPods, the Cocoa library package manager.

Commands:

    + cache          Manipulate the CocoaPods cache
    + debug          Start a debugging session
    + deintegrate    Deintegrate CocoaPods from your project
    + dependencies   Show project's dependency graph.
    + env            Display pod environment
    + gen            Generates Xcode workspaces from a podspec.
    + init           Generate a Podfile for the current directory
    + install        Install project dependencies according to versions from a
                     Podfile.lock
    + ipc            Inter-process communication
    + lib            Develop pods
    + list           List pods
    + outdated       Show outdated project dependencies
    + package        Package a podspec into a static library.
    + plugins        Show available CocoaPods plugins
    + repo           Manage spec-repositories
    + search         Search for pods
    + setup          Setup the CocoaPods environment
    + spec           Manage pod specs
    + trunk          Interact with the CocoaPods API (e.g. publishing new specs)
    + try            Try a Pod!
    + update         Update outdated project dependencies and create new Podfile.lock

Options:

    --silent         Show nothing
    --version        Show the version of the tool
    --verbose        Show more debugging information
    --no-ansi        Show output without ANSI codes
    --help           Show help banner of specified command
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...