Why does this pod file icon have a red 'rb' on it?

Discussion in 'iOS Programming' started by patent10021, Jul 1, 2016.

  1. patent10021 macrumors 68030

    patent10021

    Joined:
    Apr 23, 2004
    #1
    I've noticed that some pod files have rb on the icon. 'rb' is visible both in the Finder and in the Xcode project Navigator.

    Is it because it was created with a ruby editor?
     

    Attached Files:

  2. PhoneyDeveloper, Jul 1, 2016
    Last edited: Jul 1, 2016

    PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    What does

    Code:
    file Podfile
    mdls Podfile
    in the Terminal say?

    Anyway, this is the Finder so it means that Finder thinks the file is a ruby source code file. Is it wrong?
     
  3. Dookieman macrumors 6502

    Joined:
    Oct 12, 2009
    #3
    Cocoapods are Ruby based. rb is the Ruby extension.
     
  4. patent10021 thread starter macrumors 68030

    patent10021

    Joined:
    Apr 23, 2004
    #4
    That's why I also said Ruby.

    But normally these files in the Xcode navigator are just white. But the odd time I will see this icon with "rb" in the Navigator. There's no extension of a pod file n my finder. It's just a black icon with the name pod file.

    It's like a small number of people are creating their pod files with a different editor than most people.

    For example I just use Xcode -> New File. Those people are creating them from cli?
     

Share This Page