• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Project file turns into folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Project file turns into folder


  • Subject: Re: Project file turns into folder
  • From: "Edward K. Chew" <email@hidden>
  • Date: Fri, 27 Oct 2006 15:45:55 -0400

On Oct 27, 2006, at 11:30, Steve Mills wrote:

Perhaps your Launch Services db needs a rebuild? Try this in Terminal (all one line):

/System/Library/Frameworks/ApplicationServices.framework/Versions/A/ Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -f
/Developer/Applications/Xcode.app


I had this happen after I booted from a Leopard seed and went to open a project. Took me a few seconds to realize that I had not yet installed Xcode on that volume, so Finder didn't know that a .xcodeproj was supposed to be a package.

Alas, this didn't seem to have any appreciable effect.

On Oct 27, 2006, at 11:36, Sean McBride wrote:

On 2006-10-27 11:30, Edward K. Chew said:

Nah, the extension is still just ".xcodeproj".  Is there anything
else that makes a package a package?  The one in question contains
four files:

project.pbxproj
ted.mode1
ted.mode2
ted.pbxuser

Is there some Finder flag I need to set, or am I being too old school?

There is the 'bundle bit'. See 'man SetFile'. But Xcode.app does not set the bundle bit on projects it creates, which is why .xcodeproj's appear as folders on machines that do not have Xcode.

Okay, I set the bundle bit and, after logged out and returning, the project was looking like a single file again, albeit one with a blank icon. I told it in Get Info to open up under Xcode, and now everything seems to be fine, though it looks like I will have to go and set the bundle bit on all my other projects. (Fortunately, there aren't too many yet, since I'm gradually working my way over from CodeWarrior.)


I can't help but think I need to do the OS X equivalent of rebuilding the desktop, whatever that might be. Maybe I'll fire up Onyx and start hitting some buttons...

-Ted
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Project file turns into folder
      • From: Laurence Harris <email@hidden>
    • Re: Project file turns into folder
      • From: Chris Espinosa <email@hidden>
References: 
 >Project file turns into folder (From: "Edward K. Chew" <email@hidden>)
 >Re: Project file turns into folder (From: Laurence Harris <email@hidden>)
 >Re: Project file turns into folder (From: "Edward K. Chew" <email@hidden>)
 >Re: Project file turns into folder (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Scrolling in Xcode editor
  • Next by Date: Re: Project file turns into folder
  • Previous by thread: Re: Project file turns into folder
  • Next by thread: Re: Project file turns into folder
  • Index(es):
    • Date
    • Thread