0

I have this code in my xcode7 project:

SPEC_BEGIN(TTests)

describe(@"Math", ^{
    it(@"is pretty cool", ^{
        [[theValue(1) should] equal:theValue(1)];
    });
});
SPEC_END

and I have this error when I run this test: -[TTests Math_IsPrettyCool] failed: 'Math, is pretty cool' [FAILED], Invalid parameter not satisfying: !stayUp || CLClientIsBackgroundable(internal->fClient)

Does anyone know how to fix this problem?

sasha_nec
  • 532
  • 5
  • 12

1 Answers1

0

I turned out that I had this code in my project:

CLLocationManager *manager = [CLLocationManager alloc] init];
[locationManager setAllowsBackgroundLocationUpdates:YES];

when I removed this code kiwi tests stated to work fine.

sasha_nec
  • 532
  • 5
  • 12