skip to Main Content

I’m making a ObjC/Swift application, and the client stipulated that devices that use @1x images will no longer be supported, so these images should be deleted from the project to make it lighter.
I have done this, but I receive several alerts on the Xcode project:

The file "[email protected]" for the image set "image_name@1x" does not exists.

Bearing in mind that these are intended missing files, there is any way to make these alerts disappear?

2

Answers


  1. I’m not sure how to avoid the warning if you provide raster images but don’t include @1x scale.

    These days it’s pretty common to include a single, universal graphic in a vector form like pdf. The system then generates whatever scale is needed for each target device.

    Unless you’re using larger raster graphics I suggest you use that approach.

    Login or Signup to reply.
  2. Presumably you now have only a single image left? If so, you could change the Scales setting in the asset inspector to Single Scale as shown in the image below and hopefully that will fix your problem.

    setting single scale in inspector

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search