I noticed that the MonoTouch docs only describe how to bind to a static lib 
but not how to bind to a .framework. Is this possible? 


On Monday, October 24, 2011 at 11:11, ayoung wrote:

> 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 [hidden email] 
> > (/user/SendEmail.jtp?type=node&node=3934038&i=0) 
> >  To unsubscribe from MonoTouch, click here. 
> 
> 
>  View this message in context: Re: Binding to 3rd party frameworks 
> (http://monotouch.2284126.n4.nabble.com/Binding-to-3rd-party-frameworks-tp3927102p3934038.html)
>  Sent from the MonoTouch mailing list archive 
> (http://monotouch.2284126.n4.nabble.com/) at Nabble.com (http://Nabble.com).
> _______________________________________________
> MonoTouch mailing list
> [email protected] (mailto:[email protected])
> http://lists.ximian.com/mailman/listinfo/monotouch

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to