Search code examples
objective-cmacosmacrubygrowl

Loading Growl in my Mac app: Unable to read symbols


I am trying to load Growl so I can use it in my Mac app, but I keep getting this error:

warning: Unable to read symbols for @executable_path/../Frameworks/Growl.framework/Versions/A/Growl (file not found)
warning: Unable to read symbols from "Growl" (not yet mapped into memory).

What does this mean and how can I fix this problem?


Solution

  • I guess there is a step I missed. Don't forget to do these steps:

    1. Download the Growl framework from the Downloads page.
    2. Copy the Growl framework to your application's project folder (or any subdirectory of it).
    3. Add the Growl framework to your project, making sure that all the relevant target checkboxes are checked. The header files in the framework use UTF-8 encoding.
    4. Add a Copy Files phase to your application's target (App target > Build Phases > Add Build Phase).
    5. Get Info on the Copy Files phase.
    6. Set the destination to “Frameworks”, with no subpath (clear the field).
    7. Drag the framework from the group tree into the Copy Files phase.

    From now on, your application will compile and link using the Growl framework inside its bundle.