markohlebar / Peckham

Add #import-s from anywhere in the code.
MIT License
714 stars 94 forks source link

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

Open carya opened 9 years ago

carya commented 9 years ago

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.

clementpadovani commented 9 years ago

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 notifications@github.com 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.

carya commented 9 years ago

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

clementpadovani commented 9 years ago

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