tipsywacky
tipsywacky

Reputation: 3464

Unable to find image named "img.png" on Watch after updated to OS 2 and xcode 7?

All the images work on OS 1. So today after updating to OS2, the images stop working. I tried to clean the build and the same problem exists.

Also tried to remove the image asset folder and re-added it to back to xcode. But still no help.

Anyone knows what's wrong? Thanks in advance.

Ans: I moved my 1x image to 2x in the asset folder and it works.

Upvotes: 0

Views: 593

Answers (2)

Bandish Dave
Bandish Dave

Reputation: 811

click on the image file and go to right side and select all for "Target Membership" options like screen shot below, Clean the build and try again.

enter image description here

Upvotes: 2

Rudra
Rudra

Reputation: 241

add both watch os & watch extension target while adding the image enter image description here

Upvotes: 1

Related Questions