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 or GitHub 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.
The latest release (Xamarin Studio 5.9) still has this warning when building for a Debug build (with linker behaviour set to "Don't Link"):
MTOUCH: Warning MT0049: PushKit.framework is supported only if deployment target is 8.0 or later. PushKit features might not work correctly. (MT0049) (Obymobi.Mobile.App.iOS)
It's been discussed here:
When will this be fixed - I've been living with it for over 6 months now...
BB, technically the warning is correct, Xamarin.iOS.dll contains PushKit bindings, and if you don't link the app it will contain those PushKit bindings (iow your app as a whole is using PushKit even though your own code isn't).
Sebastien, maybe we should disable this warning for simulator+dontlink builds? I
That warning was, largely, to cover an Apple bug  as a way to indicate that the feature would not work (but we allowed the build to complete, even when the linker was disabled).
It seems that was fixed (at least in 8.4 beta, need to track it back - 8.1 SDK was also buggy) so it might be possible to remove it completely (at least for recent Xcode versions).
Xcode 6.1 (iOS 8.1 SDK) was still buggy.
Xcode 6.2 is fine (iOS 8.2 SDK).
Fixed in maccore/master a54b5b78ffccb8d624b1c6e1db6e59f75370540b
note: if someone is still using Xcode 6.[0|1] they will continue to have the MT0049 warning since it's not possible, when the linker is disabled, to know if PushKit is really used (or not) by the application - making it hard to diagnose why it would not work.
I still get this warning when building for a Debug build (with linker behaviour set to "Don't Link") with the latest Xamarin and Xcode:
Xamarin Studio: 5.9.3