Text and HTML macros

Discussion in 'Mac Programming' started by SRossi, Jul 5, 2009.

  1. macrumors regular

    Joined:
    May 27, 2009
    Messages:
    202
    Location:
    Glasgow, Scotland
    #1
    Hi all,

    I'm working my way through Xcode 3 unleashed but have got stuck during Chapter 9 where it asks me to find TextMacros.xctxtmacro and HTML.xctxtmacro which should be in Contents/PlugIns but I cannot find these files and have even searched for them but it shows 0 results found.

    I am using Xcode 3.1 and the book is using 3.0 so is it possible if someone can point me in the direction of these files or what they are now if possible.

    Thanks,

    Stephen
     
  2. macrumors 6502a

    Joined:
    May 10, 2009
    Messages:
    939
    Location:
    Des Moines, WA
    #2
    Both are located at -

    Xcode.app/Contents/PlugIns/TextMacros.xctxtmacro/Contents/Resources
     
  3. macrumors regular

    Joined:
    May 27, 2009
    Messages:
    202
    Location:
    Glasgow, Scotland
    #3
    Thank you very much :). Book wasn't too informative on accessing Xcodes package contents.

    Stephen
     
  4. macrumors regular

    Joined:
    May 27, 2009
    Messages:
    202
    Location:
    Glasgow, Scotland
    #4
    Right now I have completed what I wanted to do but now I have to save the file in Library/Application Support/Developer/3.0/Xcode.

    But unfortunately I do not have a Developer folder in Application Support, but I do have one in Library and this contains a 3.1 folder but does not contain an Xcode folder.

    Any help?

    Thanks

    Stephen
     
  5. macrumors 6502a

    Joined:
    May 10, 2009
    Messages:
    939
    Location:
    Des Moines, WA
    #5
    I'd place it in the 'Application Support/Developer/Shared/Xcode'
    folder of '~/Library' if I was the only user of the machine or
    '/Library' to share amongst all users.

    If the path doesn't exist go ahead an create it.
     
  6. macrumors regular

    Joined:
    May 27, 2009
    Messages:
    202
    Location:
    Glasgow, Scotland
    #6
    I created the path but Xcode doesn't find the macro, but hopefully I wont need to use it for the actual book as I found writing plists as really annoying.

    Thanks though

    Stephen
     
  7. macrumors 6502a

    Joined:
    May 10, 2009
    Messages:
    939
    Location:
    Des Moines, WA
    #7
    Stephen,

    Before giving up try -

    ~/Library/Application Support/Developer/Shared/Xcode/Specifications
     
  8. macrumors regular

    Joined:
    May 27, 2009
    Messages:
    202
    Location:
    Glasgow, Scotland
    #8
    Thanks man, that path set it up correctly.

    Stephen
     
  9. macrumors 6502a

    Joined:
    May 10, 2009
    Messages:
    939
    Location:
    Des Moines, WA
    #9
    I'm glad you were able to get it working!
     

Share This Page