Hi,
I'm adding a WatchKit app to my iOS app and I'm having problems making the watch app installing automatically when I change the app extension code. For now, the only way to update my watch app, is to delete it on the watch directly and re-install it from the Watch app on my iPhone. No need to say that using this method I can't connect the debugger to help me out during the development process.
When compiling, the Device Log and the Deploying to Device tabs says nothing about the Watch app, which I find suspicious. The Build Output, however, seems to build my watch app target (Target _CopyWatchOS2AppsToBundle:) without errors.
While reading my iPhone logs in the Console.app, I found something interesting :
0x16cea3000 -[ACXAvailableApplicationManager processApplication:withNewApps:updatedApps:]: Updating entry for app com.mycompany.myiosapp.watchkitapp 0x16cea3000 -[ACXGizmoState noteNewApps:updatedApps:removedApps:completion:]: com.mycompany.myiosapp.watchkitapp: updated but marked to skip watch install so skipping.
The app seems to be updated correctly, but is not send to my watch.
My provisioning profiles seems to be correctly generated and installed.
Is anyone encountered this already?
Thank you,
Nicolas
Answers
@NicolasTremblay
You are trying this with the Watch app (not the watch extension) project set as the startup project?
@JGoldberger No, I'm building a watch extension for an already existing iOS app.
So your solution should have at least three projects:
Set the Watch app project as the startup project. not the extension project.
And please go over this guide if you have not: https://docs.microsoft.com/en-us/xamarin/ios/watchos/deploy-test/device
and note the issue I filed against that document: https://github.com/MicrosoftDocs/xamarin-docs/issues/480