• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Get rid of warning "subview transition … requires Core Animation"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Get rid of warning "subview transition … requires Core Animation"


  • Subject: Get rid of warning "subview transition … requires Core Animation"
  • From: Jerry Krinock <email@hidden>
  • Date: Fri, 10 Aug 2012 15:57:04 -0700

After migrating a project to Xcode 4, I'm getting warnings from several of the xibs,

"Adding a subview transition requires the view or one of its ancestors to enable Core Animation layer."

These xibs have no animation, at least none that I ever *remember* adding in.  Someone else with this problem determined that it was probably due to a bug in Interface Builder, leaving behind vestiges of animation objects which had been deleted.

http://stackoverflow.com/questions/7891642/how-to-get-rid-of-warnings-about-enabling-core-animation-layer

Proceeding as he did, indeed I found the following in my xib,

    <string key="NSFrameSize">{620, 415}</string>
    <reference key="NSSuperview" ref="210262484"/>
    <reference key="NSNextKeyView" ref="52954864"/>
    <object class="NSDictionary" key="NSViewAnimations">
    	    <string key="NS.key.0">subviews</string>
	    <object class="CATransition" key="NS.object.0">
		    <string key="subtype">fromTop</string>
		    <string key="type">fade</string>
		    <array key="__CACodingContents">
			    <string>subtype</string>
			    <string>type</string>
		    </array>
	    </object>
    </object>

I've tried several ways to hand-edit that out of there, but always end up "corrupting" my xib.

Is hand-editing the correct fix for this problem?  Does anyone know how to remove it from the above xml?

Thanks,

Jerry


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Link error '/usr/bin/g++-4.0 failed with exit code 1'
      • From: Stephen Kay <email@hidden>
  • Prev by Date: Re: Debugging and Symbolizing Crash Dumps in Xcode
  • Next by Date: Xcode does not stop at breakpoints in UnitTest
  • Previous by thread: Re: Debugging and Symbolizing Crash Dumps in Xcode
  • Next by thread: Re: Get rid of warning "subview transition … requires Core Animation"
  • Index(es):
    • Date
    • Thread