Govind Mulgir
Govind Mulgir

Reputation: 11

What does `platform` indicate in Podfile for iOS project?

Is it different from the deployment target for the iOS project? If yes what's the difference between them?

Upvotes: 1

Views: 1019

Answers (1)

Midhun MP
Midhun MP

Reputation: 107121

Platform indicates for which platform the pods project should be generated.
Platform can be:

  • ios for iOS projects
  • osx for MacOS projects
  • tvos for TvOS projects
  • watchos for WatchOS projects

Target specifies for which target the libraries need to be linked.

You can read Podfile Syntax Reference for more details.

Upvotes: 1

Related Questions