Results 1 to 2 of 2
  1. #1
    Beginner...Please Help!!
    Ok very beginner question here,

    I have a unix executable file on my computer, I can't figure out how to put it into an application with an icon and file associations. I understand that you can create applications and bundles using XCode but how do i create one that simply just runs the executable when you click on the icon? Please Help.

  2. #2

    xstep's Avatar
    Member Since
    Jun 25, 2005
    On the road
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    I've noticed you've asked several newbie questions. From what I can tell you need to buy a book. A highly praised one is "Cocoa Programming for Mac OS X". Get the second edition which is the current printing. Page 161 answers your question if your building a standard Cocoa app. The answer is a bit lengthy to post here, and dated for how one gets to the appropriate panel. I'm half way through this book so am (re)learning too.

    If your building a command line app, I'm not sure you can associate a custom icon for it. But you can double click them and they will open in a Teminal window.

    The shortest answer I can give for a Cocoa type app is; Click on the target program name in Xcode, under the Project menu select Edit Active Target <your program name>". Under the Info.plist Entries select Document Types. Name seems to be your program's name. And extension is what your looking for. Now you just need the code to write/read your file.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Beginner needs HELP, please!
    By Blue Ruffian in forum Switcher Hangout
    Replies: 2
    Last Post: 02-01-2014, 11:03 AM
  2. not really a beginner but I need help!
    By gamblergal in forum Switcher Hangout
    Replies: 2
    Last Post: 01-24-2013, 05:41 PM
  3. Beginner Help PLEASE
    By Johnny V. in forum Movies and Video
    Replies: 3
    Last Post: 08-18-2011, 10:57 PM
  4. Beginner!
    By cheetahastra in forum Images, Graphic Design, and Digital Photography
    Replies: 11
    Last Post: 09-22-2007, 05:07 AM
  5. please!
    By meskue in forum macOS - Apps and Games
    Replies: 2
    Last Post: 06-06-2006, 10:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts