'identity and type' inspector - no plain data choice anymore?

  • Hi all,

    I have some custom files that need to go in my .app's bundle.  For files added long ago (probably in Xcode 3), in the 'file inspector' under 'file type' they are set to 'Default - data'.  Now I have some new files of this type to add to the project, but there seems to be no "plain ol' data" choice in that popup anymore.

    If I choose let's say 'stuffit archive', looking in the .pbxproj itself I see:

      14CE08C716EFC6770070946C /* File.vtk */ = {isa = PBXFileReference; explicitFileType = archive.stuffit; fileEncoding = 4; path = File.vtk; sourceTree = "<group>"; };

    Existing files of this type that have been there forever show as "explicitFileType = file".  But no popup choice seems to generate that anymore, or I'm missing it.

    Is this no longer possible?

    Thanks,

    --
    ____________________________________________________________
    Sean McBride, B. Eng                <sean...>
    Rogue Research                        www.rogue-research.com
    Mac Software Developer              Montréal, Québec, Canada
  • On 2013 May 08, at 11:11, Sean McBride <sean...> wrote:

    > I have some custom files that need to go in my .app's bundle.  For files added long ago (probably in Xcode 3), in the 'file inspector' under 'file type' they are set to 'Default - data'.  Now I have some new files of this type to add to the project, but there seems to be no "plain ol' data" choice in that popup anymore.

    I see what you mean, Sean.  I have some of those "Default - data" File Types in one of my projects.  However, if I simply drag a file with no file extension/suffix into the project, its File Type gets set to "Default - data".  So apparently the workaround is to just close your eyes and add them?

    I'd hope that the File Type does not matter other than for aesthetic purposes, as long as the type is one that Xcode does not have a rule to try and compile.  They should be blindly copied to your product, I hope.
  • On Thu, 9 May 2013 12:44:25 -0700, Jerry Krinock said:

    >> I have some custom files that need to go in my .app's bundle.  For
    > files added long ago (probably in Xcode 3), in the 'file inspector'
    > under 'file type' they are set to 'Default - data'.  Now I have some new
    > files of this type to add to the project, but there seems to be no
    > "plain ol' data" choice in that popup anymore.
    >
    > I see what you mean, Sean.  I have some of those "Default - data" File
    > Types in one of my projects.  However, if I simply drag a file with no
    > file extension/suffix into the project, its File Type gets set to
    > "Default - data".  So apparently the workaround is to just close your
    > eyes and add them?
    >
    > I'd hope that the File Type does not matter other than for aesthetic
    > purposes, as long as the type is one that Xcode does not have a rule to
    > try and compile.  They should be blindly copied to your product, I hope.

    They are copied within the .app no problem, the problem is that when doing 'find' in my Xcode project it looks within these (large) files since they are ultimately text, which it somehow figures out, despite there being no UTI associated with the extension in question.  Marking them as stuffit archives seems to do the trick. :)

    Cheers,

    --
    ____________________________________________________________
    Sean McBride, B. Eng                <sean...>
    Rogue Research                        www.rogue-research.com
    Mac Software Developer              Montréal, Québec, Canada
previous month may 2013 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today