Adding dylib to iOS Frameworks list

Hi,

I am trying to add libsqlite3.dylib to the frameworks list, but if I do this <Require iOS.Build.Framework="libsqlite3.dylib" />, it gets added as libsqlite3.dylib.framework which is missing.

Hi Bjørn-Olav,

You can use Build.LinkLibrary:

<Require Build.LinkLibrary="sqlite3" />

This will add -lsqlite3 to linker flags in the generated project.

If needed, you can also specify Build.LinkDirectory and Build.IncludeDirectory.

Thanks. Works!