google-code-export / tibar

Automatically exported from code.google.com/p/tibar
1 stars 0 forks source link

Problems building yourself/ installing the module? Here are some solutions: #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Awesome work with the tibar module, works like a charm.

Some ideas for improvement:

As mentioned somewhere in the issues (not by me), an addition of the following 
line at the bottom of the module.xcconfig coming with the prebuild module makes 
the module work at the first try, you do not have to go into the xcode project 
and add the frameworks manually any more:

OTHER_LDFLAGS=$(inherited) -framework AVFoundation -framework CoreMedia 
-framework CoreVideo -framework QuartzCore /usr/lib/libiconv.dylib

Apart from that, please mention in the first page that you have to compile the 
module (if you build it yourself) using the build.py, I needed a day to figure 
that one out:

The file that is built by the xcode project (if you compile the code) creates a 
libTibar.a, with an uppercase T. This file only runs on the devices, not in the 
simulator. There it says it can't find libtibar.a (you can use it to keep the 
App size down in production, though, as it's 1 mb smaller, as previously 
mentioned).

If you want the libtibar.a that runs in both the simulator and the device, run 
the build.py with python. It will create the libtibar.a without the uppercase T.

Original issue reported on code.google.com by felix.ba...@googlemail.com on 19 Sep 2011 at 10:11