Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<CATransformLayer: 0x14fea3710> - changing property masksToBounds in transform-only layer, will have no effect

I am getting this warning report in xCode 7.0

This happens when i am using MBProgress HUD in my project. How to deal with this warning?

I saw "changing property masksToBounds in transform-only layer, will have no effect" in Xcode 7 but no use...

like image 598
Daniella D'Cruz Avatar asked Sep 25 '15 05:09

Daniella D'Cruz


2 Answers

In my case this must be related to a keyboard bug. All I have to do is launch an iPad Simulator, and press (CommandKey).

Three errors:

2015-09-29 19:40:47.251 ArchKit[12577:338772] <CATransformLayer: 0x7ff592f12ca0> - changing property masksToBounds in transform-only layer, will have no effect
2015-09-29 19:40:47.252 ArchKit[12577:338772] <CATransformLayer: 0x7ff592d1a2f0> - changing property masksToBounds in transform-only layer, will have no effect
2015-09-29 19:40:47.252 ArchKit[12577:338772] <CATransformLayer: 0x7ff592f25d30> - changing property masksToBounds in transform-only layer, will have no effect

Just by pressing the (CommandKey).

Even if I make a starter project with Sprite Kit for instance. So this is a bug.

like image 85
rezwits Avatar answered Nov 01 '22 21:11

rezwits


I suggest to ignore the warning.

In my case I have a little prototype project where I analyze keyboard avoidance. I don't use any animation, and I don't directly change layer properties which would give a reason for the warning. I only change UIScrollView offsets, insets and the like. Yet the warning shows up, so I assume it is something which needs to be taken care of in the SDK. (Or simulator?)

like image 4
Rainer Schwarze Avatar answered Nov 01 '22 22:11

Rainer Schwarze