Generate gcda-files with Xcode5, iOS7 simulator and XCTest

前端 未结 6 1271
伪装坚强ぢ
伪装坚强ぢ 2020-12-02 06:09

Being inspired by the solution to this question I tried using the same approach with XCTest.

I\'ve set \'Generate Test Coverage Files=YES\' and \'Instrument Program

6条回答
  •  囚心锁ツ
    2020-12-02 06:22

    - (void)applicationWillTerminate:(UIApplication*)application must be defined in your application delegate, not in the observer class.

    I didn't have any library problems. "-lgov" is not needed and you don't have to add any libraries. Coverage is supported directly by LLVM compiler.

提交回复
热议问题