Dozens of “profiling:invalid arc tag” when running code coverage in Xcode 5

后端 未结 7 2253
隐瞒了意图╮
隐瞒了意图╮ 2020-12-13 05:54

When running my Test target with code coverage enabled in Xcode 5, I get dozens of the following message in the build output:

profiling:invalid arc tag (0x..         


        
7条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 06:28

    You might want to clear out all derived data folders. Especially if you upgrade Xcode or use more than one Xcode versions.

    At one time I've experienced this just after I upgraded Xcode from 6.2 to 6.3 in our integration server and we've seen these messages in the logs as well as missing classes in the coverage report generated by frankencover.it. Removing the DerivedData folders inside the integration server fixes it.

    find /Library/Developer/XcodeServer -name DerivedData -print0 | xargs -0 rm -rf
    

提交回复
热议问题