The problem is that most of the solutions suggest to link framework SDK's only which would in fact solve the issue. However, my app crashes with this linker behaviour. Therefore, I have to use the "Don't Link" behaviour.
I have used additional mtouch arguments --linkskip=HealthKit and --xml=File.xml, but I could still see HealthKit Functionalities when checked with
strings <> | grep Health,
Also I have included the XML file with additional linker options,
<?xml version="1.0" encoding="UTF-8" ?> <linker> <assembly fullname="Xamarin.iOS"> <type fullname="HealthKit" preserve="none"/> </assembly> </linker>
and even in the simple Sample application, without even referencing any HealthKit, all the HealthKit functionalities has been linked, I have attached the same sample application and screenshot as well. Kindly provide any solution for this issue ASAP, as my iOS app is getting delayed.