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

974 Views Asked by At

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

1

There are 1 best solutions below

1
Midhun MP On

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.