[MonoTouch] Binding to 3rd party frameworks
ayoung
andrewdyoung at gmail.com
Mon Oct 24 14:11:58 EDT 2011
Jeff,
I think my problem is not knowing how to bind to 3rd party frameworks. The static lib is dependent on another .framework that isn't part of the normal frameworks provided by apple. What are the extra args that I need to put in for linking?
Also, how would I write bindings against this 3rd party framework? Would it be the same?
Andrew.
On Monday, October 24, 2011 at 7:45, Jeff Stedfast [via MonoTouch] wrote:
> Hi Andrew,
>
> I'm not sure where that error is coming from, but it sounds like maybe the .a you are linking against is meant only for device. Does the native library you bound include i386 symbols?
>
> You can use `file libMyThirdPartyLibrary.a` to find out if it is a universal binary with support for multiple architectures (and which archs those are).
>
> Jeff
>
> On Fri, Oct 21, 2011 at 7:48 PM, Andrew Young <[hidden email] (/user/SendEmail.jtp?type=node&node=3933364&i=0)> wrote:
> > I'm building a static lib in Xcode that links to a 3rd party framework (not a native iOS .framework). After creating the bindings and adding it to my MonoTouch proj, I get a "Undefined symbols for architecture i386" from mtouch. It is trying to reference a header that belongs to the 3rd party framework.
> >
> > How should I handle this?
> > _______________________________________________
> > MonoTouch mailing list
> > [hidden email] (/user/SendEmail.jtp?type=node&node=3933364&i=1)
> > http://lists.ximian.com/mailman/listinfo/monotouch
> >
>
>
> _______________________________________________
> MonoTouch mailing list
> [hidden email] (/user/SendEmail.jtp?type=node&node=3933364&i=2)
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
> If you reply to this email, your message will be added to the discussion below: http://monotouch.2284126.n4.nabble.com/Binding-to-3rd-party-frameworks-tp3927102p3933364.html
> To start a new topic under MonoTouch, email ml-node+s2284126n3346893h90 at n4.nabble.com (mailto:ml-node+s2284126n3346893h90 at n4.nabble.com)
> To unsubscribe from MonoTouch, click here (http://monotouch.2284126.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3346893&code=YW5kcmV3ZHlvdW5nQGdtYWlsLmNvbXwzMzQ2ODkzfDE5MjczODc4ODI=).
--
View this message in context: http://monotouch.2284126.n4.nabble.com/Binding-to-3rd-party-frameworks-tp3927102p3934038.html
Sent from the MonoTouch mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111024/0aa0c1c1/attachment.html
More information about the MonoTouch
mailing list