修复“Apple Watch 应用程序安装从未完成"的问题 [英] Fixing "Install of Apple Watch Application never finished"

查看:50
本文介绍了修复“Apple Watch 应用程序安装从未完成"的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在过去的 4 周里,我没有成功为我当前的应用项目测试 Watch 应用.最初,我使用的是 Xcode 7 beta 5.但是,我也注意到 Xcode 7 GM 中的这种行为.我为此与 Apple 一起创建了一个雷达,但他们将其作为副本关闭,没有解释如何解决此问题.

我已经查看了问题

我没有项目错误.iPhone 应用程序本身仍然可以在 iOS 模拟器中运行.

我可以在 Xcode 中创建一个新项目,创建一个新的 Watch 目标,然后让它运行得很好.但我不知道为什么我现有的项目不起作用.

与此相关的另一个可能的项目:在 iOS 模拟器的 Watch 应用中,虽然我已正确设置了 Watch 应用图标,但我的应用已列出但旁边没有图标.

对此的任何帮助将不胜感激.我已经浪费了数周的时间来尝试让它工作,看到 Apple 发布 Xcode 7 的 GM 版本,但它不能与现有项目正常工作,这让我很尴尬.

解决方案

我遇到了这个问题.我通过从 Watch 模拟器中删除 Watch App、对项目进行全新构建并重新安装来解决该问题.

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"

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.

解决方案

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.

这篇关于修复“Apple Watch 应用程序安装从未完成"的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆