PeterP
PeterP

Reputation: 25

How do I access cocoa pods library and add a module to it?

I am using macincloud to do some xcode work and I have a xcode package that works fine on the computer it was made on, but in macincloud I get a no module error. How do I check on my pod library, is it part of the of the computer or is part of my code?

I have read about opening up terminal and typing in different commands to install pods but nothing is working

Here is what is in my Podfile:

# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'WallpaperBoard' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

    pod 'IQKeyboardManagerSwift'
    pod 'Google-Mobile-Ads-SDK'
    pod 'DBImageColorPicker'
    pod 'SSUIViewMiniMe'
  # Pods for WallpaperBoard

end

Upvotes: 0

Views: 560

Answers (1)

alxlives
alxlives

Reputation: 5212

Cocoapods is a dependency manager. Running the pod install command on Terminal, it downloads all the Pods as external dependencies and creates a .xcworkspace for your project.

It needs to be run once in every different computer you run your project.

On Mac In Cloud:

  1. Open Terminal
  2. Navigate to the project folder, where the Podfile is. Usually you can navigate with the cd command. Example:
cd  /Users/user_name/Desktop/project_folder 
  1. Run the command to install the Pods:
pod install
  1. Open the generated .xcworkspace file

Upvotes: 1

Related Questions