profiling:invalid arc tag ( iOS unit tests )

  • 2

profiling:invalid arc tag ( iOS unit tests )

Category : Tools

We’re running unit tests in the CI flow for our iOS products.

One day the CI builds started failing with hundreds of lines of the following:

profiling:invalid arc tag (0x0000000c)
profiling:invalid arc tag (0x43555b2d)
profiling:invalid arc tag (0x0000000c)
profiling:invalid arc tag (0x43555b2d)
profiling:invalid arc tag (0x0000000c)
profiling:invalid arc tag (0x614d534e)
profiling:invalid arc tag (0x5f787863)
profiling:invalid arc tag (0x00000000)
profiling:invalid arc tag (0x00000000)
** TEST FAILED **

But there were no actual failures in any of the tests.
Turns out the thing to do is to clean out the derived data folder
( default: ~/Library/Developer/Xcode/DerivedData )

Problem solved :)

//


2 Comments

Martin Delille (@martinodelilo)

May 19, 2014 at 7:04 pm

I have the same message when running my unit test. Removing the .gcna files (coverage data) fix the problem. As you say it doesn’t affect the test result. I just post on SO in case someone has a better idea: http://stackoverflow.com/questions/23745300/profiling-invalid-arc-tag-0x00000000

otomato

July 10, 2014 at 1:20 pm

thanks for the feedback. the answer there seems to provide a cleaner way to deal with this.

Leave a Reply