Search code examples
cocoaxcode4core-animation

How to get rid of warnings about enabling Core Animation Layer


I experimented a bit with transitions for my subviews in a Cocoa app I'm developing. After rolling them back I'm left with 5 warnings stating "Unsupported Configuration: Adding a subview transition requires the view or one of its ancestors to enable Core Animation Layer".

How do I get rid of them?

EDIT: To clarify: I just toyed around with the transitions to see how they would work out but then removed them all. Also did a "clean" from the menu and a rebuild of my project.


Solution

  • Found it.

    Apparently XCode gets confused - at least that's my interpretation.

    The warnings will disappear when you navigate to the Issue Navigator, right click the warning and choose "Open As - Source Code". You will then see an XML representation of your XIB. In my case I found some references to transitions but after closing them, they disappeared as did the warning.