Magnetometer or Heading / Compass values on iOS 11?

I’m clearly doing something wrong. I’m also attempting to do the above, but seem to be stuck.
I’ve included location updates in the plist file , made sure to requestwheninuseauthorization, initialized and startupdatinglocation and startupdatingheading but for no apparent reason, iOS events are simply not getting called.
Neither didchangeauthorizationstatus; didupdateheading; nor didupdatelocations get called ever.
What am I doing wrong?