3

For the past 4 weeks, I've had no success in testing a Watch app for my current app project. Initially, I was using Xcode 7 beta 5. However, I'm noticing this behavior in the Xcode 7 GM as well. I created a radar for this with Apple, but they closed it as a duplicate without explaining how to fix this.

I have already reviewed the questions here and here, and have attempted every answer they have suggested. But the issue still isn't resolved.

My issue: I have an existing iPhone application. I created a new target for the Apple Watch, targeting watchOS 2. I have not touched anything in the Watch extension, leaving everything as it is created by default. When I attempt to run it in the Watch simulator, nothing happens for about one minute. I then get the following error in Xcode:

"Error launching '<app name> Extension' 
Install of Apple Watch Application never finished"

Screenshot for error message

I have no project errors. And the iPhone app itself still works in the iOS simulator.

I can create a new project in Xcode, create a new Watch target, and get it to run just fine. But I don't know why my existing project doesn't work.

Another possible item related to this: In the Watch app in the iOS Simulator, my app is listed but doesn't have an icon next to it despite me having set up the Watch app icons properly.

Any assistance on this would be greatly appreciated. I've wasted weeks on just trying to get this to work, and it's embarrassing to see Apple release a GM release of Xcode 7 that doesn't work properly with existing projects.

Community
  • 1
  • 1
Josh Hrach
  • 1,238
  • 8
  • 15
  • try deleting your existing watch extension and watch OS 1 app target and add them later. – sandy Sep 12 '15 at 07:09
  • @sandy: I've done that almost a dozen times over the past 4 weeks. No luck. I also rebuilt my app in a new project and it still isn't working. – Josh Hrach Sep 14 '15 at 23:54

3 Answers3

1

I've come across the same problem on one of the Xcode beta versions. If you use Watch Framework then try to move all files from one to Watch Extension.

Dmytro Hutsuliak
  • 1,741
  • 4
  • 21
  • 37
1

I have come across this issue. I resolved the problem by deleting the Watch App from the Watch simulator, doing a clean build of the project, and re-installing.

Duncan Babbage
  • 19,972
  • 4
  • 56
  • 93
0

I recently face same issue, before it worked properly. But after long time again try to test and same problem occurs, by setting Keychain Sharing -> ON in iOS Application's Target -> Capabilities . This solution works for me. Hope this will work for others.

enter image description here

technerd
  • 14,144
  • 10
  • 61
  • 92