XCode forgets to compile some files

  • Hi,
    sometimes my XCode forgets to compile some file I modified.
    For example, I add the line
        NSLog(@"Pass here");
    in the awakeFromNib method. Then I build and execute the program, and I
    DON'T see the log line. Then I quit, I do "Clean All" then I recompile and I
    see the log line. Of course when I recompile after the "Clean All", I have
    to wait for so long time... Find and fix a bug this way is a pain.

    What did I forget?

    Best Regards
    --
    Lorenzo
    email: <archidea...>
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • Hi,
    sometimes my XCode forgets to compile some file I modified.
    And I created a new project just now.
    For example, I add the line
        NSLog(@"Pass here");
    in the awakeFromNib method. Then I build and execute the program, and I
    DON'T see the log line. Then I quit, I do "Clean All" then I recompile and I
    see the log line. Of course when I recompile after the "Clean All", I have
    to wait for so long time...
    I already marked "Always Save before compile".

    What did I forget?

    Best Regards
    --
    Lorenzo
    email: <archidea...>
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • Is your system clock incorrect, or do you store your files on a server
    with a different time set?

    j o a r

    On 2003-10-27, at 16.04, Lorenzo wrote:

    > What did I forget?
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • > From: Lorenzo <archidea...>
    > Date: Mon, 27 Oct 2003 16:04:19 +0100
    > To: <cocoa-dev...>
    > Subject: XCode forgets to compile some files
    >
    > Hi,
    > sometimes my XCode forgets to compile some file I modified.
    > And I created a new project just now.
    > For example, I add the line
    > NSLog(@"Pass here");
    > in the awakeFromNib method. Then I build and execute the program, and I
    > DON'T see the log line. Then I quit, I do "Clean All" then I recompile and I
    > see the log line. Of course when I recompile after the "Clean All", I have
    > to wait for so long time...
    > I already marked "Always Save before compile".
    >
    > What did I forget?

    You probably didn't forget anything. I have a similar problem where I set
    the build window to close on build success. The window never closes
    however...

    Or I set different compiler settings in my build types. I now discovered
    that it seems that Xcode is always displaying the same settings when you
    start the build. But if I look at the actual build command, I can see that
    the compiler settings are correctly used in the build...

    -Laurent.
    --
    ===========================================================================
    Laurent Daudelin                    Developer, Multifamily, ESO, Fannie Mae
    mailto:<Laurent_Daudelin...>                  Washington, DC, USA
    ************************* Usual disclaimers apply *************************
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • On Oct 27, 2003, at 7:04 AM, Lorenzo wrote:

    > Hi,
    > sometimes my XCode forgets to compile some file I modified.
    > And I created a new project just now.
    > For example, I add the line
    > NSLog(@"Pass here");
    > in the awakeFromNib method. Then I build and execute the program, and I
    > DON'T see the log line. Then I quit, I do "Clean All" then I recompile
    > and I
    > see the log line. Of course when I recompile after the "Clean All", I
    > have
    > to wait for so long time...
    > I already marked "Always Save before compile".
    >
    > What did I forget?

    Explicitly save the source file in question.  There is a bug in which
    Xcode either doesn't touch or doesn't recognize recently touched files,
    if they haven't been manually saved when a build is initiated;
    specifically, when the "Always Save" option is set.

    That, and the #1 most frustrating Xcode bug that hasn't yet been
    resolved is the insertion point bug, which occurs when you click to
    reposition the cursor insert point, and when you begin typing, text is
    inserted at the PREVIOUS cursor location in the file.  Aaargggh!

    But these issues should be posted to the xcode-users list, not
    cocoa-dev.  And file your bug reports!  Don't assume that others have
    already filed them.
    --
    Shaun Wexler
    MacFOH
    http://www.macfoh.com
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • > And file your bug reports!  Don't assume that others have
    > already filed them.
    > --
    > Shaun Wexler
    > MacFOH
    > http://www.macfoh.com

    Just in case, the url for bug reporting is located at:

    http://developer.apple.com/bugreporter/

    The more reports they get for the same thing, they more they know that it
    is not just related to one computer.

    Christopher Forsythe
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
previous month october 2003 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today