• 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: Can't Compile C++ File from Window. Ideas?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't Compile C++ File from Window. Ideas?


  • Subject: Re: Can't Compile C++ File from Window. Ideas?
  • From: Mark Coniglio <email@hidden>
  • Date: Tue, 8 Jun 2010 18:52:51 +0200

Dear List,

I have an XCode project with about 1300 files in it total. XCode recently started the behavior where, when the source file is the active window, the "Compile" option in the "Build" menu is grayed out. But, when selecting the same file in the source code tree, the "Compile" option is available and works. Given that I'm on a deadline, this bug is super-duper annoying as I can't easily compile the file I'm working on without a couple of extra clicks, etc.

An update on this: I think I have found at workaround. at least.

NOTE: THE PROCEDURE BELOW WILL DELETE YOUR BREAKPOINTS, BOOKMARKS AND OTHER USER SPECIFIC SETTINGS FROM YOUR XCODE PROJECT.

Go to the Editor frame on the main project window. A the top left-ish, there is a the file history popup menu.

In this menu:

1) Clear the file history
2) Set the Capacity to a fixed number (I did 10)
3) Close the project
4) Go to the project file, right-click and say "Show Package Contents"
5) Erase the .pbxuser file you find there.
6) Reopen the project

For me, files that wouldn't compile from the open editor window now do. Furthermore, with the file history set to a fixed, low number, I haven't lost the ability to compile yet.

Hope that helps another frustrated programmer!

Best,
Mark
--
=======================================================================
 Mark Coniglio             |  email@hidden
 TroikaTronix              |  http://www.troikatronix.com/
 Isadora®                  |  http://www.troikatronix.com/isadora.html
                           |  (interactive media processing environment)
=======================================================================
_______________________________________________
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


References: 
 >Trouble embedding a framework in an application (From: Tito Ciuro <email@hidden>)
 >Re: Trouble embedding a framework in an application (From: Dong Feng <email@hidden>)
 >Re: Trouble embedding a framework in an application (From: Tito Ciuro <email@hidden>)
 >Re: Trouble embedding a framework in an application (From: Christiaan Hofman <email@hidden>)
 >Re: Trouble embedding a framework in an application (From: Tito Ciuro <email@hidden>)
 >Super Annoying: Can't Compile C++ File from Window. Ideas? (From: Mark Coniglio <email@hidden>)

  • Prev by Date: Re: Rez search paths acting up
  • Next by Date: Xcode console - turning off echo?
  • Previous by thread: Super Annoying: Can't Compile C++ File from Window. Ideas?
  • Next by thread: nibs don't respect protocols
  • Index(es):
    • Date
    • Thread