Professional Web Applications Themes

10.3, Xcode, SetSystemUIMode - Mac Programming

I have a project which I used under PB and 10.2.8. It compiled fine. In it I had several lines like theError = SetSystemUIMode(kUIModeAllHidden, 0); I have been converting this project to Xcode under 10.3.1 with all patches installed but no non-Apple system stuff. I upgraded by doing an 'Archive and Reinstall' so I shouldn't have any of the old frameworks or libraries hanging around. I'm trying to compile one target for both 10.2 and 10.3 and have made no chages to the sourcecode for these .h or .m files. When I try to compile this I now get .... ...

  1. #1

    Default 10.3, Xcode, SetSystemUIMode

    I have a project which I used under PB and 10.2.8. It compiled
    fine. In it I had several lines like

    theError = SetSystemUIMode(kUIModeAllHidden, 0);

    I have been converting this project to Xcode under 10.3.1 with
    all patches installed but no non-Apple system stuff. I upgraded
    by doing an 'Archive and Reinstall' so I shouldn't have any of
    the old frameworks or libraries hanging around.

    I'm trying to compile one target for both 10.2 and 10.3 and have
    made no chages to the sourcecode for these .h or .m files.
    When I try to compile this I now get

    .... objCTools.o illegal reference to symbol: _SetSymbolUIMode defined in indirectly references dynamic library ... HIToolbox.framework/Versions/A/HIToolbox

    What's happening here ? Is it trying to use an old framework ?
    Should I be adding an 'include' or an 'import' in somewhere ?


    Simon Guest

  2. #2

    Default Re: 10.3, Xcode, SetSystemUIMode

    In article <0.1.2>,
    demon.co.uklocalhost (Simon Slavin) wrote:
     

    Are you sure that error message is right? I don't see a SetSymbolUIMode
    in HIToolbox on 10.3.

    If the error message is about SetSystemUIMode, make sure the Carbon
    framework is included in your project. It sounds like you might be
    linking against something that's pulling in Carbon indirectly, and to
    correct that you have to directly link against Carbon.

    -Eric

    --
    Eric Albert edu
    http://rescomp.stanford.edu/~ejalbert/
    Eric Guest

  3. #3

    Default Re: 10.3, Xcode, SetSystemUIMode

    In article <stanford.edu>,
    Eric Albert <edu> wrote:
     

    Oh gawd, yes, that's it. In the old project I had told it
    that the Carbon framework was needed. When I made a new
    Xcode project I forgot to do that. What stupid wording for
    the error message.


    Simon Guest

Similar Threads

  1. Problems with Xcode
    By F. in forum Mac Programming
    Replies: 3
    Last Post: October 31st, 09:53 PM
  2. Xcode editor
    By Mike in forum Mac Programming
    Replies: 4
    Last Post: October 30th, 10:42 AM

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