Code coverage not showing results using Xcode + gcov

前端 未结 4 1412
一生所求
一生所求 2020-12-03 01:52

I have been trying to get the Code coverage working for iPhone simulator and always get a 0% coverage. Below are the configuration details and the steps that I have tried.

4条回答
  •  时光取名叫无心
    2020-12-03 02:25

    Thanks Sangavi since your answer helped me.

    Now the but: I followed your descripition step by step and than I had the problem that no gcda-files were created (only gcdo-files).

    After that I removed your (above) prefix-code which I copied in the main.m and everything worked suddenly. Bet the gcov-path was not created correctly or something.

    Just posting this if anyone runs into the same issue.

提交回复
热议问题