Alexander Katona
Alexander Katona

Reputation: 5

POD FILE INSTALL OPTIONS

Terminal NEW TRY

cocoapods was already installed on computer, but I figured I'd try again.

attached is the newest image of my terminal, still showing same problem.

I'm running iOS High Sierra \ Version 10.13.5.

So sometimes when I install podfile it works, the others times I get this:

usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

and I'm just confused. I dont understand, what commmand can I run for it to just install the pods that I want? Cocoapods is already installed, and I'm going through the process correctly.

Upvotes: 0

Views: 956

Answers (1)

Enea Dume
Enea Dume

Reputation: 3232

first create pod file

  • pod init

after creating and editing podfile, type:

  • pod install

UPDATE

This is the podfile. I have added only two pods just for a short example. You can add whatever you want

 source 'https://github.com/CocoaPods/Specs.git'
platform :ios, ‘11.0’
use_frameworks!

target ‘your project namne’ do
    pod 'Alamofire'
    pod 'Kingfisher'
end

Upvotes: 1

Related Questions