Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
When i try to start the inspector, the app crashes with the following exception:
System.MissingMethodException: Method 'UIDevice.get_Name' not found.
at at Xamarin.InspectorSupport.<CreateAgent>m__1 () in /Users/builder/data/lanes/904/55ad6a51/source/inspector/Xamarin.Inspector.iOS/InspectorSupport.cs:line 17
at at Foundation.NSAsyncActionDispatcher.Apply () in /Users/builder/data/lanes/2356/9ce9e8b9/source/maccore/src/Foundation/NSAction.cs:line 163
at at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string,intptr,intptr)
at at UIKit.UIApplication.Main (System.String args, IntPtr principal, IntPtr delegate) in /Users/builder/data/lanes/2356/9ce9e8b9/source/maccore/src/UIKit/UIApplication.cs:line 77
at at UIKit.UIApplication.Main (System.String args, System.String principalClassName, System.String delegateClassName) in /Users/builder/data/lanes/2356/9ce9e8b9/source/maccore/src/UIKit/UIApplication.cs:line 61
Hi Philipp. Could you please take a screenshot of your iOS project's "iOS Build" settings?
Mostly I'm curious about the linker settings (because I think disabling the linker might fix this for you), but it might be helpful to see all settings.
I'm getting the same error. I'll get a screenshot and try turning off the linker too.
Changing build config to not link did the trick. Error is gone.
Excellent. As mentioned in the forums, in my own testing I also got a crash on startup, but with a different error. Fix is in the pipeline and will be in the next release.
And by "fix" I mean we won't enable inspection unless the the linker is fully disabled.
Turning off the linker also worked for me. Thanks for the quick "fix" :)
Fixed in upcoming release.