steventroughtonsmith / filebrowser

iOS 7 File Browser
181 stars 43 forks source link

App disappears on watch after "installing" #5

Closed Tsubashi closed 8 years ago

Tsubashi commented 8 years ago

I am new to apple watch development, so it is likely I am just doing something wrong. After manually installing the app on my phone via the devices window I can see the app installing to my watch. When the icon finishes it's loading animation it suddenly disappears. Checking the apple watch app on my phone shows the "Show App on Apple Watch" slider is disabled but re-enabling it just repeats the process. (icon appears, loads, disappears, slider moves back to off).

If I don't build the NanoFileBrowser-Package target and install the resulting app it installs onto the watch, missing the UI of course.

I am not sure where to access the apple watch's logs. I had thought they would be in the "View Device Logs" section of the Devices window, and cursory googling semi-confirms this, but nothing is showing up in my case. I am not sure where else to look for clues to solve this issue.

steventroughtonsmith commented 8 years ago

That sounds like a codesigning issue of some sort, try with a clean build. Watch console should be a tab at the bottom of the devices window in Xcode 7 when you have your iPhone selected, and have resized the console section to be visible - will give you more info as to what's not working. If it's non-obvious, try rebooting phone/watch - it can be inconsistent sometimes.

Tsubashi commented 8 years ago

That must have been it. I was on my wife's machine, so I must have been missing something since it works now that I am on mine.

The weird thing, though, is that I was looking in the right spot for the apple watch console, but it was blank on my wife's machine. Works on mine, though, so I guess all's well that ends well.