2015-09-18 36 views
0

我有我的xcode7項目驗證碼:獼猴桃測試沒有在Xcode工作7

SPEC_BEGIN(TTests) 

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

,當我運行這個測試我有這樣的錯誤: - [TTests Math_IsPrettyCool]失敗:「數學是非常酷'[FAILED],無效的參數不令人滿意:!stayUp || CLClientIsBackgroundable(internal-> fClient)

有誰知道如何解決這個問題?

回答

0

我證明,我有這個代碼在我的項目:

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

當我刪除此代碼獼猴桃試驗說明做工精細。

相關問題