Professional Web Applications Themes

Problems with Xcode - Mac Programming

I just upgraded to Panther (on a Power G4 2x1,25 Mhz one yr old). Glad I did, the interface is much improved (faster etc) on Mac OS X 10.2.6. But I am having trouble with Xcode. While Panther will run all right the Cocoa apps I did with PB, if I ask XCode to build the corresponding projects, it will (perhaps half the time) announce quietly that ³build failed² wihout giving any indication. Worse : to familiarize myself with the new interface, I redid the tutorial ³Currency Converter² , at least 3 times from scratch. The 2 first runs failed. ...

  1. #1

    Default Problems with Xcode

    I just upgraded to Panther (on a Power G4 2x1,25 Mhz one yr old). Glad I
    did, the interface is much improved (faster etc) on Mac OS X 10.2.6. But I
    am having trouble with Xcode.

    While Panther will run all right the Cocoa apps I did with PB, if I ask
    XCode to build the corresponding projects, it will (perhaps half the time)
    announce quietly that ³build failed² wihout giving any indication.
    Worse : to familiarize myself with the new interface, I redid the tutorial
    ³Currency Converter² , at least 3 times from scratch. The 2 first runs
    failed. OK , I could have made a mistake. Well , the 3rd time build
    succeeded , but my enthusiasm was quenched when , after a shutdown of the
    computer, I asked Xcode to rebuild the very simple project : build failed (
    without any hint) .

    I have reloaded the Xcode Tools but the result is the same. I must miss
    something. Can somebody help me ?

    F. Guest

  2. #2

    Default Re: Problems with Xcode

    In article <BBC73587.43E%fr>,
    "F. JOLY" <fr> wrote:
     

    When you get a plain "build failed" without more information, look at
    the build log. At the bottom of your Build window is a separator you can
    drag up, giving the log of commands that are being executed to build
    your project. In there, near the end, should be the command that failed
    along with an error.

    A good way to deal with these things is simply to clean build your
    project and then rebuild. Xcode sadly requires clean builds WAY too
    often.
    Michael Guest

  3. #3

    Default Re: Problems with Xcode

    "F. JOLY" <fr> wrote in message news:<BBC73587.43E%fr>... 

    Get your project up in Xcode, then double click your target. (Open up
    Targets then double click on your target name.) In the window that
    comes up pick GCC Compiler settings and under Compiler Version pick
    GCC 3.3. It should then work. I found this out since i only installed
    3.3 and none of the others (i.e. 10.1 and 10.2 SDK's). If you do that
    it should work OK.

    --jim
    Jim Guest

  4. #4

    Default Re: Problems with Xcode

    F. JOLY wrote:
     

    The reason I found for similar behaviour was missing gcc2.95, which my
    projects wanted to use. I switched the compiler to 3.3 to test it and it
    built fine. Then I installed the 2.95.

    Patryk Guest

Similar Threads

  1. Xcode editor
    By Mike in forum Mac Programming
    Replies: 4
    Last Post: October 30th, 10:42 AM
  2. How to add framework to a target in Xcode?
    By Eric in forum Mac Programming
    Replies: 4
    Last Post: October 29th, 04:03 PM
  3. Xcode can't find a header
    By James W. Walker in forum Mac Programming
    Replies: 0
    Last Post: July 20th, 07:35 PM

Bookmarks

Posting Permissions

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

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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139