IOKit.framework - The Destruction of my Project

  • Hello,

    I have a relatively new project (meaning that it is in the design
    phrases) but I am coding the GUI as I design it (Mainly the showing of
    sheets and opening of windows). Now about a week, maybe a week and a
    half ago I made the decision to add a mini-web browser to the
    application to display formatting rules (since the site has a help
    page dedicated to that).

    I added the WebKit.framework to my project so that I could utilize it
    for the display of that help page. I added a copy files build phrase
    and such so that my set up would actually work. When I went to build
    with adding no code at all (just the added WebKit.framework) the build
    failed with 10 errors and 6 warnings.

    Upon investigation into these errors I discovered that it is within
    the 10.5sdk's IOKit.framework... I have my project's build target to
    be 10.4.x so that Tiger users of the site may access and use my tool.
    After removing the WebKit.framework stuff that I added, hoping that
    doing so would allow me to build my project but with no avail. I have
    tried to reinstall Xcode at the suggestion of a very good Cocoa
    developer that I trust extremely well because he believed that it
    could be a corrupt framework.

    I am working on two apps and one builds find. So here goes with my
    errors and warnings.

    error: 'io_user_reference_t' undeclared here (not in a function)
    error: syntax error before 'OSAsyncReference64'
    warning: data definition has no type or storage class
    error: syntax error before 'OSAsyncReference64'
    warning: no semicolon at end of struct or union
    error: syntax error before '}' token
    error: syntax error before 'io_user_reference_t'
    warning: no semicolon at end of struct or union
    error: 'io_user_reference_t' undeclared here (not in a function)
    error: syntax error before 'OSAsyncReference64'
    warning: data definition has no type or storage class
    error: syntax error before 'OSAsyncReference64'
    warning: no semicolon at end of struct or union
    error: syntax error before '}' token
    error: syntax error before 'io_user_reference_t'
    warning: no semicolon at end of struct or union

    We cannot figure out how this can be fixed! Any help would be
    appreciated!
  • On 12/02/2008, Jeremy <doglover3049...> wrote:
    > Hello,
    >
    > I have a relatively new project (meaning that it is in the design
    > phrases) but I am coding the GUI as I design it (Mainly the showing of
    > sheets and opening of windows). Now about a week, maybe a week and a
    > half ago I made the decision to add a mini-web browser to the
    > application to display formatting rules (since the site has a help
    > page dedicated to that).
    >
    > I added the WebKit.framework to my project so that I could utilize it
    > for the display of that help page. I added a copy files build phrase
    > and such so that my set up would actually work. When I went to build
    > with adding no code at all (just the added WebKit.framework) the build
    > failed with 10 errors and 6 warnings.
    >
    > Upon investigation into these errors I discovered that it is within
    > the 10.5sdk's IOKit.framework... I have my project's build target to
    > be 10.4.x so that Tiger users of the site may access and use my tool.
    > After removing the WebKit.framework stuff that I added, hoping that
    > doing so would allow me to build my project but with no avail. I have
    > tried to reinstall Xcode at the suggestion of a very good Cocoa
    > developer that I trust extremely well because he believed that it
    > could be a corrupt framework.
    >
    > I am working on two apps and one builds find. So here goes with my
    > errors and warnings.
    >
    > error: 'io_user_reference_t' undeclared here (not in a function)
    > error: syntax error before 'OSAsyncReference64'
    > warning: data definition has no type or storage class
    > error: syntax error before 'OSAsyncReference64'
    > warning: no semicolon at end of struct or union
    > error: syntax error before '}' token
    > error: syntax error before 'io_user_reference_t'
    > warning: no semicolon at end of struct or union
    > error: 'io_user_reference_t' undeclared here (not in a function)
    > error: syntax error before 'OSAsyncReference64'
    > warning: data definition has no type or storage class
    > error: syntax error before 'OSAsyncReference64'
    > warning: no semicolon at end of struct or union
    > error: syntax error before '}' token
    > error: syntax error before 'io_user_reference_t'
    > warning: no semicolon at end of struct or union
    >
    > We cannot figure out how this can be fixed! Any help would be
    > appreciated!

    Basically the compiler has never seen a definition of io_user_reference_t.

    You need to post your code as well.  No one can really help you with
    the info you've posted.  Who is including IOUSBUserClient.h (I assume
    that's what is bonking)?  Who is including the file that includes
    IOUSBUserClient.h (etc, all the way back to your code).  You need to
    post your code.

    Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    10.5 occurences?  Check the executable preferences as well
    (command-opt E in Xcode).

    Adding a framework to a project doesn't add any code (it's just
    another "library" to link against).  And searching on "IOKit" with
    WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    reasonably sure that WebKit doesn't include anything from IOKit.

    Failing all that, start from scratch but I doubt you should have to.

    Cheers,
    -H.
  • Herb,

    Thanks for the reply. I don't even know what IOKit.framework does, so
    I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    don't even interlink  my classes together. What other code would
    accidently call or include those two files? And looking into the
    preferences I have no 10.5u SDK references. But if I change it to 10.5
    SDK build target, my only problem is the fact that it stalls (got to
    find that on my own)...

    Jeremy

    "How would a car function if it were designed like a computer?
    Occasionally, executing a maneuver would cause your car to stop and
    fail and you would have to re-install the engine, and the airbag
    system would say, 'Are you sure?' before going off." - Katie Hafner

    On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:

    > On 12/02/2008, Jeremy <doglover3049...> wrote:
    >> Hello,
    >>
    >> I have a relatively new project (meaning that it is in the design
    >> phrases) but I am coding the GUI as I design it (Mainly the showing
    >> of
    >> sheets and opening of windows). Now about a week, maybe a week and a
    >> half ago I made the decision to add a mini-web browser to the
    >> application to display formatting rules (since the site has a help
    >> page dedicated to that).
    >>
    >> I added the WebKit.framework to my project so that I could utilize it
    >> for the display of that help page. I added a copy files build phrase
    >> and such so that my set up would actually work. When I went to build
    >> with adding no code at all (just the added WebKit.framework) the
    >> build
    >> failed with 10 errors and 6 warnings.
    >>
    >> Upon investigation into these errors I discovered that it is within
    >> the 10.5sdk's IOKit.framework... I have my project's build target to
    >> be 10.4.x so that Tiger users of the site may access and use my tool.
    >> After removing the WebKit.framework stuff that I added, hoping that
    >> doing so would allow me to build my project but with no avail. I have
    >> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >> developer that I trust extremely well because he believed that it
    >> could be a corrupt framework.
    >>
    >> I am working on two apps and one builds find. So here goes with my
    >> errors and warnings.
    >>
    >> error: 'io_user_reference_t' undeclared here (not in a function)
    >> error: syntax error before 'OSAsyncReference64'
    >> warning: data definition has no type or storage class
    >> error: syntax error before 'OSAsyncReference64'
    >> warning: no semicolon at end of struct or union
    >> error: syntax error before '}' token
    >> error: syntax error before 'io_user_reference_t'
    >> warning: no semicolon at end of struct or union
    >> error: 'io_user_reference_t' undeclared here (not in a function)
    >> error: syntax error before 'OSAsyncReference64'
    >> warning: data definition has no type or storage class
    >> error: syntax error before 'OSAsyncReference64'
    >> warning: no semicolon at end of struct or union
    >> error: syntax error before '}' token
    >> error: syntax error before 'io_user_reference_t'
    >> warning: no semicolon at end of struct or union
    >>
    >> We cannot figure out how this can be fixed! Any help would be
    >> appreciated!
    >
    > Basically the compiler has never seen a definition of
    > io_user_reference_t.
    >
    > You need to post your code as well.  No one can really help you with
    > the info you've posted.  Who is including IOUSBUserClient.h (I assume
    > that's what is bonking)?  Who is including the file that includes
    > IOUSBUserClient.h (etc, all the way back to your code).  You need to
    > post your code.
    >
    > Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    > 10.5 occurences?  Check the executable preferences as well
    > (command-opt E in Xcode).
    >
    > Adding a framework to a project doesn't add any code (it's just
    > another "library" to link against).  And searching on "IOKit" with
    > WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    > reasonably sure that WebKit doesn't include anything from IOKit.
    >
    > Failing all that, start from scratch but I doubt you should have to.
    >
    > Cheers,
    > -H.
  • Noone can help you unless you post some code.  Please see my previous email :-)

    On 12/02/2008, Jeremy <doglover3049...> wrote:
    > Herb,
    >
    > Thanks for the reply. I don't even know what IOKit.framework does, so
    > I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    > don't even interlink  my classes together. What other code would
    > accidently call or include those two files? And looking into the
    > preferences I have no 10.5u SDK references. But if I change it to 10.5
    > SDK build target, my only problem is the fact that it stalls (got to
    > find that on my own)...
    >
    > Jeremy
    >
    > "How would a car function if it were designed like a computer?
    > Occasionally, executing a maneuver would cause your car to stop and
    > fail and you would have to re-install the engine, and the airbag
    > system would say, 'Are you sure?' before going off." - Katie Hafner
    >
    >
    > On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:
    >
    >> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>> Hello,
    >>>
    >>> I have a relatively new project (meaning that it is in the design
    >>> phrases) but I am coding the GUI as I design it (Mainly the showing
    >>> of
    >>> sheets and opening of windows). Now about a week, maybe a week and a
    >>> half ago I made the decision to add a mini-web browser to the
    >>> application to display formatting rules (since the site has a help
    >>> page dedicated to that).
    >>>
    >>> I added the WebKit.framework to my project so that I could utilize it
    >>> for the display of that help page. I added a copy files build phrase
    >>> and such so that my set up would actually work. When I went to build
    >>> with adding no code at all (just the added WebKit.framework) the
    >>> build
    >>> failed with 10 errors and 6 warnings.
    >>>
    >>> Upon investigation into these errors I discovered that it is within
    >>> the 10.5sdk's IOKit.framework... I have my project's build target to
    >>> be 10.4.x so that Tiger users of the site may access and use my tool.
    >>> After removing the WebKit.framework stuff that I added, hoping that
    >>> doing so would allow me to build my project but with no avail. I have
    >>> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >>> developer that I trust extremely well because he believed that it
    >>> could be a corrupt framework.
    >>>
    >>> I am working on two apps and one builds find. So here goes with my
    >>> errors and warnings.
    >>>
    >>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>> error: syntax error before 'OSAsyncReference64'
    >>> warning: data definition has no type or storage class
    >>> error: syntax error before 'OSAsyncReference64'
    >>> warning: no semicolon at end of struct or union
    >>> error: syntax error before '}' token
    >>> error: syntax error before 'io_user_reference_t'
    >>> warning: no semicolon at end of struct or union
    >>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>> error: syntax error before 'OSAsyncReference64'
    >>> warning: data definition has no type or storage class
    >>> error: syntax error before 'OSAsyncReference64'
    >>> warning: no semicolon at end of struct or union
    >>> error: syntax error before '}' token
    >>> error: syntax error before 'io_user_reference_t'
    >>> warning: no semicolon at end of struct or union
    >>>
    >>> We cannot figure out how this can be fixed! Any help would be
    >>> appreciated!
    >>
    >> Basically the compiler has never seen a definition of
    >> io_user_reference_t.
    >>
    >> You need to post your code as well.  No one can really help you with
    >> the info you've posted.  Who is including IOUSBUserClient.h (I assume
    >> that's what is bonking)?  Who is including the file that includes
    >> IOUSBUserClient.h (etc, all the way back to your code).  You need to
    >> post your code.
    >>
    >> Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    >> 10.5 occurences?  Check the executable preferences as well
    >> (command-opt E in Xcode).
    >>
    >> Adding a framework to a project doesn't add any code (it's just
    >> another "library" to link against).  And searching on "IOKit" with
    >> WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    >> reasonably sure that WebKit doesn't include anything from IOKit.
    >>
    >> Failing all that, start from scratch but I doubt you should have to.
    >>
    >> Cheers,
    >> -H.

    >
  • Herb,

    What kind of code do you want? How I am interlinking my classes? What
    files I am including? Or are you asking for all the code to all of my
    classes (I have about 8 of them now)?

    Jeremy
    "How would a car function if it were designed like a computer?
    Occasionally, executing a maneuver would cause your car to stop and
    fail and you would have to re-install the engine, and the airbag
    system would say, 'Are you sure?' before going off." - Katie Hafner

    On Feb 12, 2008, at 6:15 PM, Herb Petschauer wrote:

    > Noone can help you unless you post some code.  Please see my
    > previous email :-)
    >
    > On 12/02/2008, Jeremy <doglover3049...> wrote:
    >> Herb,
    >>
    >> Thanks for the reply. I don't even know what IOKit.framework does, so
    >> I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    >> don't even interlink  my classes together. What other code would
    >> accidently call or include those two files? And looking into the
    >> preferences I have no 10.5u SDK references. But if I change it to
    >> 10.5
    >> SDK build target, my only problem is the fact that it stalls (got to
    >> find that on my own)...
    >>
    >> Jeremy
    >>
    >> "How would a car function if it were designed like a computer?
    >> Occasionally, executing a maneuver would cause your car to stop and
    >> fail and you would have to re-install the engine, and the airbag
    >> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>
    >>
    >> On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:
    >>
    >>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>> Hello,
    >>>>
    >>>> I have a relatively new project (meaning that it is in the design
    >>>> phrases) but I am coding the GUI as I design it (Mainly the showing
    >>>> of
    >>>> sheets and opening of windows). Now about a week, maybe a week
    >>>> and a
    >>>> half ago I made the decision to add a mini-web browser to the
    >>>> application to display formatting rules (since the site has a help
    >>>> page dedicated to that).
    >>>>
    >>>> I added the WebKit.framework to my project so that I could
    >>>> utilize it
    >>>> for the display of that help page. I added a copy files build
    >>>> phrase
    >>>> and such so that my set up would actually work. When I went to
    >>>> build
    >>>> with adding no code at all (just the added WebKit.framework) the
    >>>> build
    >>>> failed with 10 errors and 6 warnings.
    >>>>
    >>>> Upon investigation into these errors I discovered that it is within
    >>>> the 10.5sdk's IOKit.framework... I have my project's build target
    >>>> to
    >>>> be 10.4.x so that Tiger users of the site may access and use my
    >>>> tool.
    >>>> After removing the WebKit.framework stuff that I added, hoping that
    >>>> doing so would allow me to build my project but with no avail. I
    >>>> have
    >>>> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >>>> developer that I trust extremely well because he believed that it
    >>>> could be a corrupt framework.
    >>>>
    >>>> I am working on two apps and one builds find. So here goes with my
    >>>> errors and warnings.
    >>>>
    >>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: data definition has no type or storage class
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: no semicolon at end of struct or union
    >>>> error: syntax error before '}' token
    >>>> error: syntax error before 'io_user_reference_t'
    >>>> warning: no semicolon at end of struct or union
    >>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: data definition has no type or storage class
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: no semicolon at end of struct or union
    >>>> error: syntax error before '}' token
    >>>> error: syntax error before 'io_user_reference_t'
    >>>> warning: no semicolon at end of struct or union
    >>>>
    >>>> We cannot figure out how this can be fixed! Any help would be
    >>>> appreciated!
    >>>
    >>> Basically the compiler has never seen a definition of
    >>> io_user_reference_t.
    >>>
    >>> You need to post your code as well.  No one can really help you with
    >>> the info you've posted.  Who is including IOUSBUserClient.h (I
    >>> assume
    >>> that's what is bonking)?  Who is including the file that includes
    >>> IOUSBUserClient.h (etc, all the way back to your code).  You need to
    >>> post your code.
    >>>
    >>> Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    >>> 10.5 occurences?  Check the executable preferences as well
    >>> (command-opt E in Xcode).
    >>>
    >>> Adding a framework to a project doesn't add any code (it's just
    >>> another "library" to link against).  And searching on "IOKit" with
    >>> WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    >>> reasonably sure that WebKit doesn't include anything from IOKit.
    >>>
    >>> Failing all that, start from scratch but I doubt you should have to.
    >>>
    >>> Cheers,
    >>> -H.

    >>
  • Herb,

    This is the code where the errors occur (Since you wanted code):

    //
    // Prefix header for all source files of the 'My Project' target in
    the 'My Project' project
    //

    #ifdef __OBJC__
        #import <Cocoa/Cocoa.h>
    #endif

    Jeremy
    "How would a car function if it were designed like a computer?
    Occasionally, executing a maneuver would cause your car to stop and
    fail and you would have to re-install the engine, and the airbag
    system would say, 'Are you sure?' before going off." - Katie Hafner

    On Feb 12, 2008, at 6:15 PM, Herb Petschauer wrote:

    > Noone can help you unless you post some code.  Please see my
    > previous email :-)
    >
    > On 12/02/2008, Jeremy <doglover3049...> wrote:
    >> Herb,
    >>
    >> Thanks for the reply. I don't even know what IOKit.framework does, so
    >> I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    >> don't even interlink  my classes together. What other code would
    >> accidently call or include those two files? And looking into the
    >> preferences I have no 10.5u SDK references. But if I change it to
    >> 10.5
    >> SDK build target, my only problem is the fact that it stalls (got to
    >> find that on my own)...
    >>
    >> Jeremy
    >>
    >> "How would a car function if it were designed like a computer?
    >> Occasionally, executing a maneuver would cause your car to stop and
    >> fail and you would have to re-install the engine, and the airbag
    >> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>
    >>
    >> On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:
    >>
    >>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>> Hello,
    >>>>
    >>>> I have a relatively new project (meaning that it is in the design
    >>>> phrases) but I am coding the GUI as I design it (Mainly the showing
    >>>> of
    >>>> sheets and opening of windows). Now about a week, maybe a week
    >>>> and a
    >>>> half ago I made the decision to add a mini-web browser to the
    >>>> application to display formatting rules (since the site has a help
    >>>> page dedicated to that).
    >>>>
    >>>> I added the WebKit.framework to my project so that I could
    >>>> utilize it
    >>>> for the display of that help page. I added a copy files build
    >>>> phrase
    >>>> and such so that my set up would actually work. When I went to
    >>>> build
    >>>> with adding no code at all (just the added WebKit.framework) the
    >>>> build
    >>>> failed with 10 errors and 6 warnings.
    >>>>
    >>>> Upon investigation into these errors I discovered that it is within
    >>>> the 10.5sdk's IOKit.framework... I have my project's build target
    >>>> to
    >>>> be 10.4.x so that Tiger users of the site may access and use my
    >>>> tool.
    >>>> After removing the WebKit.framework stuff that I added, hoping that
    >>>> doing so would allow me to build my project but with no avail. I
    >>>> have
    >>>> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >>>> developer that I trust extremely well because he believed that it
    >>>> could be a corrupt framework.
    >>>>
    >>>> I am working on two apps and one builds find. So here goes with my
    >>>> errors and warnings.
    >>>>
    >>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: data definition has no type or storage class
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: no semicolon at end of struct or union
    >>>> error: syntax error before '}' token
    >>>> error: syntax error before 'io_user_reference_t'
    >>>> warning: no semicolon at end of struct or union
    >>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: data definition has no type or storage class
    >>>> error: syntax error before 'OSAsyncReference64'
    >>>> warning: no semicolon at end of struct or union
    >>>> error: syntax error before '}' token
    >>>> error: syntax error before 'io_user_reference_t'
    >>>> warning: no semicolon at end of struct or union
    >>>>
    >>>> We cannot figure out how this can be fixed! Any help would be
    >>>> appreciated!
    >>>
    >>> Basically the compiler has never seen a definition of
    >>> io_user_reference_t.
    >>>
    >>> You need to post your code as well.  No one can really help you with
    >>> the info you've posted.  Who is including IOUSBUserClient.h (I
    >>> assume
    >>> that's what is bonking)?  Who is including the file that includes
    >>> IOUSBUserClient.h (etc, all the way back to your code).  You need to
    >>> post your code.
    >>>
    >>> Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    >>> 10.5 occurences?  Check the executable preferences as well
    >>> (command-opt E in Xcode).
    >>>
    >>> Adding a framework to a project doesn't add any code (it's just
    >>> another "library" to link against).  And searching on "IOKit" with
    >>> WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    >>> reasonably sure that WebKit doesn't include anything from IOKit.
    >>>
    >>> Failing all that, start from scratch but I doubt you should have to.
    >>>
    >>> Cheers,
    >>> -H.

    >>
  • Here is literally what I initially posted.  Search on the words "who
    is including":

    "You need to post your code as well.  No one can really help you with
    the info you've posted.  Who is including IOUSBUserClient.h (I assume
    that's what is bonking)?  Who is including the file that includes
    IOUSBUserClient.h (etc, all the way back to your code).  You need to
    post your code.

    Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    10.5 occurences?  Check the executable preferences as well
    (command-opt E in Xcode).

    Adding a framework to a project doesn't add any code (it's just
    another "library" to link against).  And searching on "IOKit" with
    WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    reasonably sure that WebKit doesn't include anything from IOKit.

    Failing all that, start from scratch but I doubt you should have to."

    On 12/02/2008, Jeremy <doglover3049...> wrote:
    > Herb,
    >
    > What kind of code do you want? How I am interlinking my classes? What
    > files I am including? Or are you asking for all the code to all of my
    > classes (I have about 8 of them now)?
    >
    > Jeremy
    > "How would a car function if it were designed like a computer?
    > Occasionally, executing a maneuver would cause your car to stop and
    > fail and you would have to re-install the engine, and the airbag
    > system would say, 'Are you sure?' before going off." - Katie Hafner
    >
    >
    > On Feb 12, 2008, at 6:15 PM, Herb Petschauer wrote:
    >
    >> Noone can help you unless you post some code.  Please see my
    >> previous email :-)
    >>
    >> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>> Herb,
    >>>
    >>> Thanks for the reply. I don't even know what IOKit.framework does, so
    >>> I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    >>> don't even interlink  my classes together. What other code would
    >>> accidently call or include those two files? And looking into the
    >>> preferences I have no 10.5u SDK references. But if I change it to
    >>> 10.5
    >>> SDK build target, my only problem is the fact that it stalls (got to
    >>> find that on my own)...
    >>>
    >>> Jeremy
    >>>
    >>> "How would a car function if it were designed like a computer?
    >>> Occasionally, executing a maneuver would cause your car to stop and
    >>> fail and you would have to re-install the engine, and the airbag
    >>> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>>
    >>>
    >>> On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:
    >>>
    >>>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>>> Hello,
    >>>>>
    >>>>> I have a relatively new project (meaning that it is in the design
    >>>>> phrases) but I am coding the GUI as I design it (Mainly the showing
    >>>>> of
    >>>>> sheets and opening of windows). Now about a week, maybe a week
    >>>>> and a
    >>>>> half ago I made the decision to add a mini-web browser to the
    >>>>> application to display formatting rules (since the site has a help
    >>>>> page dedicated to that).
    >>>>>
    >>>>> I added the WebKit.framework to my project so that I could
    >>>>> utilize it
    >>>>> for the display of that help page. I added a copy files build
    >>>>> phrase
    >>>>> and such so that my set up would actually work. When I went to
    >>>>> build
    >>>>> with adding no code at all (just the added WebKit.framework) the
    >>>>> build
    >>>>> failed with 10 errors and 6 warnings.
    >>>>>
    >>>>> Upon investigation into these errors I discovered that it is within
    >>>>> the 10.5sdk's IOKit.framework... I have my project's build target
    >>>>> to
    >>>>> be 10.4.x so that Tiger users of the site may access and use my
    >>>>> tool.
    >>>>> After removing the WebKit.framework stuff that I added, hoping that
    >>>>> doing so would allow me to build my project but with no avail. I
    >>>>> have
    >>>>> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >>>>> developer that I trust extremely well because he believed that it
    >>>>> could be a corrupt framework.
    >>>>>
    >>>>> I am working on two apps and one builds find. So here goes with my
    >>>>> errors and warnings.
    >>>>>
    >>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: data definition has no type or storage class
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: no semicolon at end of struct or union
    >>>>> error: syntax error before '}' token
    >>>>> error: syntax error before 'io_user_reference_t'
    >>>>> warning: no semicolon at end of struct or union
    >>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: data definition has no type or storage class
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: no semicolon at end of struct or union
    >>>>> error: syntax error before '}' token
    >>>>> error: syntax error before 'io_user_reference_t'
    >>>>> warning: no semicolon at end of struct or union
    >>>>>
    >>>>> We cannot figure out how this can be fixed! Any help would be
    >>>>> appreciated!
    >>>>
    >>>> Basically the compiler has never seen a definition of
    >>>> io_user_reference_t.
    >>>>
    >>>> You need to post your code as well.  No one can really help you with
    >>>> the info you've posted.  Who is including IOUSBUserClient.h (I
    >>>> assume
    >>>> that's what is bonking)?  Who is including the file that includes
    >>>> IOUSBUserClient.h (etc, all the way back to your code).  You need to
    >>>> post your code.
    >>>>
    >>>> Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    >>>> 10.5 occurences?  Check the executable preferences as well
    >>>> (command-opt E in Xcode).
    >>>>
    >>>> Adding a framework to a project doesn't add any code (it's just
    >>>> another "library" to link against).  And searching on "IOKit" with
    >>>> WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    >>>> reasonably sure that WebKit doesn't include anything from IOKit.
    >>>>
    >>>> Failing all that, start from scratch but I doubt you should have to.
    >>>>
    >>>> Cheers,
    >>>> -H.

    >>>

    >
  • How about the error chain?  I don't see where Cocoa.h is including
    anything from IOKit.  What is the offending header file that is
    including the IOKit header file?  Who is including the offending
    header file, etc., etc.

    On 12/02/2008, Jeremy <doglover3049...> wrote:
    > Herb,
    >
    > This is the code where the errors occur (Since you wanted code):
    >
    > //
    > // Prefix header for all source files of the 'My Project' target in
    > the 'My Project' project
    > //
    >
    > #ifdef __OBJC__
    > #import <Cocoa/Cocoa.h>
    > #endif
    >
    > Jeremy
    > "How would a car function if it were designed like a computer?
    > Occasionally, executing a maneuver would cause your car to stop and
    > fail and you would have to re-install the engine, and the airbag
    > system would say, 'Are you sure?' before going off." - Katie Hafner
    >
    >
    > On Feb 12, 2008, at 6:15 PM, Herb Petschauer wrote:
    >
    >> Noone can help you unless you post some code.  Please see my
    >> previous email :-)
    >>
    >> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>> Herb,
    >>>
    >>> Thanks for the reply. I don't even know what IOKit.framework does, so
    >>> I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    >>> don't even interlink  my classes together. What other code would
    >>> accidently call or include those two files? And looking into the
    >>> preferences I have no 10.5u SDK references. But if I change it to
    >>> 10.5
    >>> SDK build target, my only problem is the fact that it stalls (got to
    >>> find that on my own)...
    >>>
    >>> Jeremy
    >>>
    >>> "How would a car function if it were designed like a computer?
    >>> Occasionally, executing a maneuver would cause your car to stop and
    >>> fail and you would have to re-install the engine, and the airbag
    >>> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>>
    >>>
    >>> On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:
    >>>
    >>>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>>> Hello,
    >>>>>
    >>>>> I have a relatively new project (meaning that it is in the design
    >>>>> phrases) but I am coding the GUI as I design it (Mainly the showing
    >>>>> of
    >>>>> sheets and opening of windows). Now about a week, maybe a week
    >>>>> and a
    >>>>> half ago I made the decision to add a mini-web browser to the
    >>>>> application to display formatting rules (since the site has a help
    >>>>> page dedicated to that).
    >>>>>
    >>>>> I added the WebKit.framework to my project so that I could
    >>>>> utilize it
    >>>>> for the display of that help page. I added a copy files build
    >>>>> phrase
    >>>>> and such so that my set up would actually work. When I went to
    >>>>> build
    >>>>> with adding no code at all (just the added WebKit.framework) the
    >>>>> build
    >>>>> failed with 10 errors and 6 warnings.
    >>>>>
    >>>>> Upon investigation into these errors I discovered that it is within
    >>>>> the 10.5sdk's IOKit.framework... I have my project's build target
    >>>>> to
    >>>>> be 10.4.x so that Tiger users of the site may access and use my
    >>>>> tool.
    >>>>> After removing the WebKit.framework stuff that I added, hoping that
    >>>>> doing so would allow me to build my project but with no avail. I
    >>>>> have
    >>>>> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >>>>> developer that I trust extremely well because he believed that it
    >>>>> could be a corrupt framework.
    >>>>>
    >>>>> I am working on two apps and one builds find. So here goes with my
    >>>>> errors and warnings.
    >>>>>
    >>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: data definition has no type or storage class
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: no semicolon at end of struct or union
    >>>>> error: syntax error before '}' token
    >>>>> error: syntax error before 'io_user_reference_t'
    >>>>> warning: no semicolon at end of struct or union
    >>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: data definition has no type or storage class
    >>>>> error: syntax error before 'OSAsyncReference64'
    >>>>> warning: no semicolon at end of struct or union
    >>>>> error: syntax error before '}' token
    >>>>> error: syntax error before 'io_user_reference_t'
    >>>>> warning: no semicolon at end of struct or union
    >>>>>
    >>>>> We cannot figure out how this can be fixed! Any help would be
    >>>>> appreciated!
    >>>>
    >>>> Basically the compiler has never seen a definition of
    >>>> io_user_reference_t.
    >>>>
    >>>> You need to post your code as well.  No one can really help you with
    >>>> the info you've posted.  Who is including IOUSBUserClient.h (I
    >>>> assume
    >>>> that's what is bonking)?  Who is including the file that includes
    >>>> IOUSBUserClient.h (etc, all the way back to your code).  You need to
    >>>> post your code.
    >>>>
    >>>> Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    >>>> 10.5 occurences?  Check the executable preferences as well
    >>>> (command-opt E in Xcode).
    >>>>
    >>>> Adding a framework to a project doesn't add any code (it's just
    >>>> another "library" to link against).  And searching on "IOKit" with
    >>>> WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    >>>> reasonably sure that WebKit doesn't include anything from IOKit.
    >>>>
    >>>> Failing all that, start from scratch but I doubt you should have to.
    >>>>
    >>>> Cheers,
    >>>> -H.

    >>>

    >
  • Herb,

    The error chain? Meaning where it is happening? Hopefully this is
    correct.

    MyProject_Prefix.pch
    - Cocoa.h
    -- Foundation.h
    --- NSAppleEventDescription
    ---- ApplicationServices.h
    ----- CoreServices.h
    ------ AE.h
    ------- CarbonCore.h
    -------- Components.h
    --------- Files.h
    ---------- DADisk.h
    ----------- IOKitLib.h

    That is where the errors are listed. If you would like to see a screen
    cap of my errors one can be found within this thread of a coding forum:

    http://www.youngcoders.com/showpost.php?p=138849&postcount=7

    Thanks for anything,
    Jeremy

    "How would a car function if it were designed like a computer?
    Occasionally, executing a maneuver would cause your car to stop and
    fail and you would have to re-install the engine, and the airbag
    system would say, 'Are you sure?' before going off." - Katie Hafner

    On Feb 12, 2008, at 6:41 PM, Herb Petschauer wrote:

    > How about the error chain?  I don't see where Cocoa.h is including
    > anything from IOKit.  What is the offending header file that is
    > including the IOKit header file?  Who is including the offending
    > header file, etc., etc.
    >
    > On 12/02/2008, Jeremy <doglover3049...> wrote:
    >> Herb,
    >>
    >> This is the code where the errors occur (Since you wanted code):
    >>
    >> //
    >> // Prefix header for all source files of the 'My Project' target in
    >> the 'My Project' project
    >> //
    >>
    >> #ifdef __OBJC__
    >> #import <Cocoa/Cocoa.h>
    >> #endif
    >>
    >> Jeremy
    >> "How would a car function if it were designed like a computer?
    >> Occasionally, executing a maneuver would cause your car to stop and
    >> fail and you would have to re-install the engine, and the airbag
    >> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>
    >>
    >> On Feb 12, 2008, at 6:15 PM, Herb Petschauer wrote:
    >>
    >>> Noone can help you unless you post some code.  Please see my
    >>> previous email :-)
    >>>
    >>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>> Herb,
    >>>>
    >>>> Thanks for the reply. I don't even know what IOKit.framework
    >>>> does, so
    >>>> I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    >>>> don't even interlink  my classes together. What other code would
    >>>> accidently call or include those two files? And looking into the
    >>>> preferences I have no 10.5u SDK references. But if I change it to
    >>>> 10.5
    >>>> SDK build target, my only problem is the fact that it stalls (got
    >>>> to
    >>>> find that on my own)...
    >>>>
    >>>> Jeremy
    >>>>
    >>>> "How would a car function if it were designed like a computer?
    >>>> Occasionally, executing a maneuver would cause your car to stop and
    >>>> fail and you would have to re-install the engine, and the airbag
    >>>> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>>>
    >>>>
    >>>> On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:
    >>>>
    >>>>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>>>> Hello,
    >>>>>>
    >>>>>> I have a relatively new project (meaning that it is in the design
    >>>>>> phrases) but I am coding the GUI as I design it (Mainly the
    >>>>>> showing
    >>>>>> of
    >>>>>> sheets and opening of windows). Now about a week, maybe a week
    >>>>>> and a
    >>>>>> half ago I made the decision to add a mini-web browser to the
    >>>>>> application to display formatting rules (since the site has a
    >>>>>> help
    >>>>>> page dedicated to that).
    >>>>>>
    >>>>>> I added the WebKit.framework to my project so that I could
    >>>>>> utilize it
    >>>>>> for the display of that help page. I added a copy files build
    >>>>>> phrase
    >>>>>> and such so that my set up would actually work. When I went to
    >>>>>> build
    >>>>>> with adding no code at all (just the added WebKit.framework) the
    >>>>>> build
    >>>>>> failed with 10 errors and 6 warnings.
    >>>>>>
    >>>>>> Upon investigation into these errors I discovered that it is
    >>>>>> within
    >>>>>> the 10.5sdk's IOKit.framework... I have my project's build target
    >>>>>> to
    >>>>>> be 10.4.x so that Tiger users of the site may access and use my
    >>>>>> tool.
    >>>>>> After removing the WebKit.framework stuff that I added, hoping
    >>>>>> that
    >>>>>> doing so would allow me to build my project but with no avail. I
    >>>>>> have
    >>>>>> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >>>>>> developer that I trust extremely well because he believed that it
    >>>>>> could be a corrupt framework.
    >>>>>>
    >>>>>> I am working on two apps and one builds find. So here goes with
    >>>>>> my
    >>>>>> errors and warnings.
    >>>>>>
    >>>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>> warning: data definition has no type or storage class
    >>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>> warning: no semicolon at end of struct or union
    >>>>>> error: syntax error before '}' token
    >>>>>> error: syntax error before 'io_user_reference_t'
    >>>>>> warning: no semicolon at end of struct or union
    >>>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>> warning: data definition has no type or storage class
    >>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>> warning: no semicolon at end of struct or union
    >>>>>> error: syntax error before '}' token
    >>>>>> error: syntax error before 'io_user_reference_t'
    >>>>>> warning: no semicolon at end of struct or union
    >>>>>>
    >>>>>> We cannot figure out how this can be fixed! Any help would be
    >>>>>> appreciated!
    >>>>>
    >>>>> Basically the compiler has never seen a definition of
    >>>>> io_user_reference_t.
    >>>>>
    >>>>> You need to post your code as well.  No one can really help you
    >>>>> with
    >>>>> the info you've posted.  Who is including IOUSBUserClient.h (I
    >>>>> assume
    >>>>> that's what is bonking)?  Who is including the file that includes
    >>>>> IOUSBUserClient.h (etc, all the way back to your code).  You
    >>>>> need to
    >>>>> post your code.
    >>>>>
    >>>>> Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    >>>>> 10.5 occurences?  Check the executable preferences as well
    >>>>> (command-opt E in Xcode).
    >>>>>
    >>>>> Adding a framework to a project doesn't add any code (it's just
    >>>>> another "library" to link against).  And searching on "IOKit" with
    >>>>> WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    >>>>> reasonably sure that WebKit doesn't include anything from IOKit.
    >>>>>
    >>>>> Failing all that, start from scratch but I doubt you should have
    >>>>> to.
    >>>>>
    >>>>> Cheers,
    >>>>> -H.

    >>>>

    >>
  • Ok, almost there.  You're not quite there yet.  IOKitLib.h doesn't use
    io_user_reference_t.  What file does IOKitLib.h include (and so on) to
    generate the errors.

    Also, if you create a brand new Cocoa project (that has a pch file
    with the same import), does that compile?

    You haven't edited any system header files have you?  (You're not
    logged in as root?)

    Cheers,
    -H.

    On 12/02/2008, Jeremy <doglover3049...> wrote:
    > Herb,
    >
    > The error chain? Meaning where it is happening? Hopefully this is
    > correct.
    >
    > MyProject_Prefix.pch
    > - Cocoa.h
    > -- Foundation.h
    > --- NSAppleEventDescription
    > ---- ApplicationServices.h
    > ----- CoreServices.h
    > ------ AE.h
    > ------- CarbonCore.h
    > -------- Components.h
    > --------- Files.h
    > ---------- DADisk.h
    > ----------- IOKitLib.h
    >
    > That is where the errors are listed. If you would like to see a screen
    > cap of my errors one can be found within this thread of a coding forum:
    >
    > http://www.youngcoders.com/showpost.php?p=138849&postcount=7
    >
    > Thanks for anything,
    > Jeremy
    >
    > "How would a car function if it were designed like a computer?
    > Occasionally, executing a maneuver would cause your car to stop and
    > fail and you would have to re-install the engine, and the airbag
    > system would say, 'Are you sure?' before going off." - Katie Hafner
    >
    >
    > On Feb 12, 2008, at 6:41 PM, Herb Petschauer wrote:
    >
    >> How about the error chain?  I don't see where Cocoa.h is including
    >> anything from IOKit.  What is the offending header file that is
    >> including the IOKit header file?  Who is including the offending
    >> header file, etc., etc.
    >>
    >> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>> Herb,
    >>>
    >>> This is the code where the errors occur (Since you wanted code):
    >>>
    >>> //
    >>> // Prefix header for all source files of the 'My Project' target in
    >>> the 'My Project' project
    >>> //
    >>>
    >>> #ifdef __OBJC__
    >>> #import <Cocoa/Cocoa.h>
    >>> #endif
    >>>
    >>> Jeremy
    >>> "How would a car function if it were designed like a computer?
    >>> Occasionally, executing a maneuver would cause your car to stop and
    >>> fail and you would have to re-install the engine, and the airbag
    >>> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>>
    >>>
    >>> On Feb 12, 2008, at 6:15 PM, Herb Petschauer wrote:
    >>>
    >>>> Noone can help you unless you post some code.  Please see my
    >>>> previous email :-)
    >>>>
    >>>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>>> Herb,
    >>>>>
    >>>>> Thanks for the reply. I don't even know what IOKit.framework
    >>>>> does, so
    >>>>> I don't call it. The only thing I call is <Cocoa/Cocoa.h> because I
    >>>>> don't even interlink  my classes together. What other code would
    >>>>> accidently call or include those two files? And looking into the
    >>>>> preferences I have no 10.5u SDK references. But if I change it to
    >>>>> 10.5
    >>>>> SDK build target, my only problem is the fact that it stalls (got
    >>>>> to
    >>>>> find that on my own)...
    >>>>>
    >>>>> Jeremy
    >>>>>
    >>>>> "How would a car function if it were designed like a computer?
    >>>>> Occasionally, executing a maneuver would cause your car to stop and
    >>>>> fail and you would have to re-install the engine, and the airbag
    >>>>> system would say, 'Are you sure?' before going off." - Katie Hafner
    >>>>>
    >>>>>
    >>>>> On Feb 12, 2008, at 4:43 PM, Herb Petschauer wrote:
    >>>>>
    >>>>>> On 12/02/2008, Jeremy <doglover3049...> wrote:
    >>>>>>> Hello,
    >>>>>>>
    >>>>>>> I have a relatively new project (meaning that it is in the design
    >>>>>>> phrases) but I am coding the GUI as I design it (Mainly the
    >>>>>>> showing
    >>>>>>> of
    >>>>>>> sheets and opening of windows). Now about a week, maybe a week
    >>>>>>> and a
    >>>>>>> half ago I made the decision to add a mini-web browser to the
    >>>>>>> application to display formatting rules (since the site has a
    >>>>>>> help
    >>>>>>> page dedicated to that).
    >>>>>>>
    >>>>>>> I added the WebKit.framework to my project so that I could
    >>>>>>> utilize it
    >>>>>>> for the display of that help page. I added a copy files build
    >>>>>>> phrase
    >>>>>>> and such so that my set up would actually work. When I went to
    >>>>>>> build
    >>>>>>> with adding no code at all (just the added WebKit.framework) the
    >>>>>>> build
    >>>>>>> failed with 10 errors and 6 warnings.
    >>>>>>>
    >>>>>>> Upon investigation into these errors I discovered that it is
    >>>>>>> within
    >>>>>>> the 10.5sdk's IOKit.framework... I have my project's build target
    >>>>>>> to
    >>>>>>> be 10.4.x so that Tiger users of the site may access and use my
    >>>>>>> tool.
    >>>>>>> After removing the WebKit.framework stuff that I added, hoping
    >>>>>>> that
    >>>>>>> doing so would allow me to build my project but with no avail. I
    >>>>>>> have
    >>>>>>> tried to reinstall Xcode at the suggestion of a very good Cocoa
    >>>>>>> developer that I trust extremely well because he believed that it
    >>>>>>> could be a corrupt framework.
    >>>>>>>
    >>>>>>> I am working on two apps and one builds find. So here goes with
    >>>>>>> my
    >>>>>>> errors and warnings.
    >>>>>>>
    >>>>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>>> warning: data definition has no type or storage class
    >>>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>>> warning: no semicolon at end of struct or union
    >>>>>>> error: syntax error before '}' token
    >>>>>>> error: syntax error before 'io_user_reference_t'
    >>>>>>> warning: no semicolon at end of struct or union
    >>>>>>> error: 'io_user_reference_t' undeclared here (not in a function)
    >>>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>>> warning: data definition has no type or storage class
    >>>>>>> error: syntax error before 'OSAsyncReference64'
    >>>>>>> warning: no semicolon at end of struct or union
    >>>>>>> error: syntax error before '}' token
    >>>>>>> error: syntax error before 'io_user_reference_t'
    >>>>>>> warning: no semicolon at end of struct or union
    >>>>>>>
    >>>>>>> We cannot figure out how this can be fixed! Any help would be
    >>>>>>> appreciated!
    >>>>>>
    >>>>>> Basically the compiler has never seen a definition of
    >>>>>> io_user_reference_t.
    >>>>>>
    >>>>>> You need to post your code as well.  No one can really help you
    >>>>>> with
    >>>>>> the info you've posted.  Who is including IOUSBUserClient.h (I
    >>>>>> assume
    >>>>>> that's what is bonking)?  Who is including the file that includes
    >>>>>> IOUSBUserClient.h (etc, all the way back to your code).  You
    >>>>>> need to
    >>>>>> post your code.
    >>>>>>
    >>>>>> Also, check your Mac OSX Deployment target and Base SDK Path.  Any
    >>>>>> 10.5 occurences?  Check the executable preferences as well
    >>>>>> (command-opt E in Xcode).
    >>>>>>
    >>>>>> Adding a framework to a project doesn't add any code (it's just
    >>>>>> another "library" to link against).  And searching on "IOKit" with
    >>>>>> WebKit (under 10.4 and 10.5) doesn't yield any results so I'm
    >>>>>> reasonably sure that WebKit doesn't include anything from IOKit.
    >>>>>>
    >>>>>> Failing all that, start from scratch but I doubt you should have
    >>>>>> to.
    >>>>>>
    >>>>>> Cheers,
    >>>>>> -H.

    >>>>>

    >>>

    >
  • I think something's messed up with the compiler's include search
    paths, and it's finding some headers in the 10.4 SDK and some in 10.5
    (either the SDK or in /System/Library/Frameworks itself.) So some of
    the 10.5 headers are using 10.5 symbols that weren't defined in the
    10.4 headers already parsed...

    So double-check the target and project settings for compiler include-
    file paths. Also check that the frameworks you added to the project
    are all in the correct SDK.

    —Jens