Peckham icon indicating copy to clipboard operation
Peckham copied to clipboard

When use xcodebuild bunch of message: cannot merge previous GCDA file: corrupt arc tag

Open carya opened this issue 9 years ago • 3 comments

When I use xcodebuild to archive, I get a bunch of these messages:

profiling: xx/Alcatraz/Plug-ins/Peckham/ObjectiveC.gcda: cannot merge previous GCDA file: corrupt arc tag (0x00000000) profiling: xx/Alcatraz/Plug-ins/Peckham/ObjectiveC.gcda: cannot merge previous GCDA file: corrupt arc tag (0x0000000a) profiling: xx/Alcatraz/Plug-ins/Peckham/ObjectiveC.gcda: cannot merge previous run count: corrupt object tag (0x00000000)

When I remove this plugin, these message disappear.

carya avatar Nov 20 '15 06:11 carya

Yeah this a known issue. Somehow the profiling files get corrupted.

Maybe a script to delete those files after a build would be nice.

Thanks, Clément Sent from my iPhone

On Nov 20, 2015, at 7:26 AM, carya [email protected] wrote:

When I use xcodebuild to archive, I get a bunch of these messages:

profiling: xx/Alcatraz/Plug-ins/Peckham/ObjectiveC.gcda: cannot merge previous GCDA file: corrupt arc tag (0x00000000) profiling: xx/Alcatraz/Plug-ins/Peckham/ObjectiveC.gcda: cannot merge previous GCDA file: corrupt arc tag (0x0000000a) profiling: xx/Alcatraz/Plug-ins/Peckham/ObjectiveC.gcda: cannot merge previous run count: corrupt object tag (0x00000000)

When I remove this plugin, these message disappear.

— Reply to this email directly or view it on GitHub.

clementpadovani avatar Nov 20 '15 07:11 clementpadovani

Is it means I need to write a script to delete those files after a build, this issue can not fixed within the plugin?

carya avatar Nov 20 '15 08:11 carya

The script will be written in the plugin since the generation of those files occurs every time Alcatraz builds Peckham.

clementpadovani avatar Nov 20 '15 08:11 clementpadovani