5

Has anyone successfully tested any of the new CoreMotion APIs with the simulator? It seems that those which require M7 aren't working. I've tried calling these functions on the new simulator running iOS 7

(BOOL)isActivityAvailable

and

(BOOL)isStepCountingAvailable

but both function calls return false.

Mobiletainment
  • 22,201
  • 9
  • 82
  • 98
jimmyC
  • 563
  • 1
  • 6
  • 20

1 Answers1

1

Your computer doesn't have an M7 so why would a simulator tell you it's there?

Edit: (Until the device Simulator supports faking it.)

MetaGuru
  • 42,847
  • 67
  • 188
  • 294
  • 6
    Isnt it similar to how the GPS simulator works on Xcode? You don't have an actual GPS sensor embedded in your computer, but it still gets simulated data. – jimmyC Oct 08 '13 at 21:30
  • Nevermind you are right... I suppose location data is processed differently, probably without GPS sensor. – jimmyC Oct 09 '13 at 00:13
  • @jimmyC it could very well be that some test data source is coming in later version of XCode too – MetaGuru Oct 09 '13 at 14:18
  • 1
    Oh wow, how are we supposed to code for the M7 if we can't simulate it? I can't be running out everytime I have to test something. – Jan May 09 '14 at 20:48