ios - Xcode 7.0 watchkit only finds previously deleted images? -


i'm trying set image of button in watchkit using setbackgroundimagenamed. have image named kone. have checked targets correct image , location correct, pretty of possible troubleshooting related questions ensure it's being added extension/app. however, watchkit won't find image or new images i'm adding it. find images few builds ago. instance, can set button image named k1 few builds ago, deleted image project entirely! whenever try set kone says "unable find image named "kone" on watch". weirder, of code works on watchkit 1.0 in xcode 6.3, , have no trouble setting kone image.

in case you're wondering, tried logging cached images on watch, there none. tried clearing cache using code:

    [[wkinterfacedevice currentdevice] removeallcachedimages];     nslog(@"%@", [[wkinterfacedevice currentdevice] cachedimages]); 

i've shut down computer, reset contents , settings on simulator (edit: comment below, had reset iphone simulator). don't know @ point.

wowwwww. occurred me writing question had reset content , settings of regular simulator but, being new whole watch thing, hadn't occurred me reset content , settings of watch simulator. after did that, started finding new images! ridiculous. if xcode/watchkit won't find new images , they're not cached, reset content , settings of watch simulator, not regular simulator! they're 2 different things! , no, quitting , restarting watch simulator didn't work. have reset contents , settings.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -