GETTING THE APP OUT OF PROJECT BUILDER

Posted:
in macOS edited January 2014
HI all, i have created an application in Project Builder and I am trying to get it as a stand alone thing, yet, whenever I drag it out of it...I can not open the Contents folder when is say view package contents



What am I doing wrong?

Thanks in advanced and if anyone knows AppleScript and would like to Beta Test it, please come forward. thanks!

Comments

  • Reply 1 of 12
    defiantdefiant Posts: 4,876member
    [quote]Originally posted by Nebagakid:

    <strong>What am I doing wrong?

    Thanks in advanced and if anyone knows AppleScript and would like to Beta Test it, please come forward. thanks!</strong><hr></blockquote>



    I am not sure, when you click Build and the go to the directory where it's stored, there should be a folder with your finished and built app in it.



    not quite sure... <img src="graemlins/hmmm.gif" border="0" alt="[Hmmm]" />



    give it a try...
  • Reply 2 of 12
    Defiant is correct.



    After you build it, the compiled app should be in a subdirectory of your project's directory named "build".



    Where are you having trouble? Your first post wasn't very clear.
  • Reply 3 of 12
    defiantdefiant Posts: 4,876member
    //offtopic//



    [quote]Originally posted by starfleetX:

    <strong>Defiant is correct.

    </strong><hr></blockquote>



    at least once

    //offtopic//
  • Reply 4 of 12
    thuh freakthuh freak Posts: 2,664member
    i think what negabakid was referring to is the actual binary executable (in *.app/contents/macos). I haven't even tried from the finder, but you can definitely move it from Terminal (or any shell). First, `cd` into the app. Then, "cd contents/macos". Finally, "mv * [path to destination folder]".



    So, if my *.app (we call it "MyApp") is inside /Applications, and i'm putting the executable in /User/myname, then heres how to:

    cd /Applications/MyApp.app/

    cd contents/macos

    mv * /User/myname



    Note: if you'd like a copy to remain inside the *.app, you can chg the last line to "cp ..." instead of "mv ..." (cp = copy, mv = move).



    i hope this helped.
  • Reply 5 of 12
    nebagakidnebagakid Posts: 2,692member
    well, when I move it out of the directory, i can not open the Contents folder , i want to be able to.



    I can see it, it is disbaled and dimmed, so it is there, and I can still run the application, yet I can not open it or see what is in it.



    [ 06-24-2002: Message edited by: Nebagakid ]</p>
  • Reply 6 of 12
    [quote]Originally posted by Nebagakid:

    <strong>well, when I move it out of the directory, i can not open the Contents folder , i want to be able to</strong><hr></blockquote>



    What for, exactly?
  • Reply 7 of 12
    nebagakidnebagakid Posts: 2,692member
    Well, i want to put in an image to serve as a background for the folder/disk image. The only way, besides just leaving the picture out there, is to hide it inside the program so the disk can use it as the background image,
  • Reply 8 of 12
    No need to hide it inside your app, just make it a hidden file in the disk image. Here's what the OmniGroup does for their apps:



    Create a folder inside the disk image, call it windowbg. Inside, save your image. Then open the View Options palette for your disk image and use it to set the background picture.



    Now open the terminal. Type this:



    mv "/Volumes/NameOfDiskImage/windowbg" "/Volumes/NameOfDiskImage/.windowbg"



    Be sure to replace NameOfDiskImage with the actual name of the disk image. Don;t worry about spaces, the quotes take care of them. This will hide the folder.
  • Reply 9 of 12
    nebagakidnebagakid Posts: 2,692member
    OHHHH&lt; that seems like a good idea
  • Reply 10 of 12
    defiantdefiant Posts: 4,876member
    why don't you drop the picture into the window of project builder...

    there where the contents are... left side, I think.

    Drag&Drop, give it a try.
  • Reply 11 of 12
    nebagakidnebagakid Posts: 2,692member
    I did, but I cant OPEN the contents folder!
  • Reply 12 of 12
    undotwaundotwa Posts: 97member
    [quote]Originally posted by Nebagakid:

    <strong>I did, but I cant OPEN the contents folder!</strong><hr></blockquote>



    I hear you. It's an extremely annoying bug in the X Finder. Some apps just refuse to let you to open the contents folder.



    The best solution is to open it via the terminal.
Sign In or Register to comment.