Hi Thomas, Try setting your Linker Options to "Don't Link" in the iPhone Build section of your project options dialog.
Jeff On Thu, Sep 29, 2011 at 4:21 AM, Thomas Bandixen <[email protected]>wrote: > Hi all**** > > ** ** > > All of a sudden I’m getting this error with MonoTouch 4.2.2**** > > In MonoTouc 4.0.7 it worked fine.**** > > ** ** > > Trigger-line:**** > > Controller.SearchDisplayController.Delegate = new > UISearchDisplayDelegate();**** > > ** ** > > The full error and stacktrace is:**** > > System.Exception: Wrapper type 'MonoTouch.UIKit.UISearchDisplayDelegate' is > missing its native ObjectiveC class 'UISearchDisplayDelegate'. Please check > if it's been linked.**** > > at MonoTouch.ObjCRuntime.Class.Register (System.Type type, System.String > name, Boolean is_wrapper) [0x00000] in <filename unknown>:0 **** > > at MonoTouch.ObjCRuntime.Class.GetHandle (System.Type type) [0x00000] in > <filename unknown>:0 **** > > at MonoTouch.Foundation.NSObject.AllocIfNeeded () [0x00000] in <filename > unknown>:0 **** > > at MonoTouch.Foundation.NSObject..ctor (MonoTouch.Foundation.NSObjectFlag > x) [0x00000] in <filename unknown>:0 **** > > at MonoTouch.UIKit.UISearchDisplayDelegate..ctor () [0x00000] in > <filename unknown>:0 **** > > at Widenmoos.UI.Controls.Contacts.ContactsSource.Build > (System.Collections.Generic.List`1 objects) [0x0004d] in > /Users/rafaeljanetzek/Projects/WidenmoosMobile/Widenmoos/UI/Controls/Contacts/ContactsSource.cs:197 > **** > > at > Widenmoos.UI.Controls.Contacts.ContactsSource+<LoadNeededData>c__AnonStorey6.<>m__1A > () [0x0003e] in > /Users/rafaeljanetzek/Projects/WidenmoosMobile/Widenmoos/UI/Controls/Contacts/ContactsSource.cs:175 > **** > > at MonoTouch.Foundation.NSActionDispatcher.Apply () [0x00000] in > <filename unknown>:0 **** > > at MonoTouch.UIKit.UIApplication.Main (System.String[] args, > System.String principalClassName, System.String delegateClassName) [0x00000] > in <filename unknown>:0 **** > > at MonoTouch.UIKit.UIApplication.Main (System.String[] args) [0x00000] in > <filename unknown>:0 **** > > at Widenmoos.Application.Main (System.String[] args) [0x00000] in > /Users/rafaeljanetzek/Projects/WidenmoosMobile/Widenmoos/Main.cs:12 **** > > Terminating runtime due to unhandled exception**** > > ** ** > > Any Ideas why it happend after the Update?**** > > ** ** > > Thanks,**** > > tBX**** > > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch > >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
