CUICatalog: Invalid Request: request for a subtype without specifying an idiom

Whenever I run my sprite app, this error is logged constantly. It is very difficult to debug, because the log is filled with these messages. They do not seem to affect the way the application works, so just fixing the error is enough. Does anyone know how to fix this?

+24
ios xcode sprite-kit
Nov 13 '15 at 5:20
source share
1 answer

I think this is just a debugging message that has not been cleared on iPod / iPhone devices.

In my application, the problem seems to be related to using Sprite Atlases in the xcassets file.

if I initialize the sprite with:

SKTexture(imageNamed: "Sprite") 

I get a message; However, using the following:

 SKTextureAtlas(named: "Atlas").textureNamed("Sprite") 

I do not receive a message.

In addition, any sprites created in the .sks file will display an error, since you do not have the ability (or need) to define the atlas.

+7
Dec 11 '15 at 11:50
source share



All Articles