watchkit 扩展未启动 [英] watchkit extension not starting
问题描述
我无法在模拟器上启动 iOS Watch App.在 Yosemite 上安装了最新的 Beta 6.2
I cannot start iOS Watch App on simulator. Installed latest Beta 6.2 on Yosemite
1) 我创建了一个基于单一视图的应用程序,
1) I create a single view based application,
2) 添加 App Watch 目标
2) Add App Watch target
3) 自动创建扩展和手表应用
3) Extension and Watch App automatically created
4) 运行 App 并启动模拟器并启用 Apple Watch 模拟器
4) Run App and start simulator and enable Apple Watch simulator
5) 将 Scheme 切换到应用 Watch App 并开始运行
5) Switch Scheme to app Watch App and start Run
Xcode 状态栏显示正在运行的应用......并且永远不会跳转到第二步
Xcode status bar showing Running App...... and never jumping to second step of
正在运行 App 扩展,所以 Apple Watch 上没有显示任何内容!!
Running App extension, so nothing is showing on Apple Watch!!
推荐答案
1. 选择您... Watch App" 在 iPhone 5 模拟器和更高版本上运行它
(手表模拟器不适用于 iPhone 4s)
1. Select you "... Watch App" Run it on iPhone 5 simulator and higher
(watch simulator not working with iPhone 4s)
2. 转至硬件 > 外部显示器 > 选择观看外部显示器之一.
2. Go to Hardware > External Displays > Select one of Watch external displays.
因此,您应该在控制台上看到来自 WKInterfaceController
WathcKit
扩展程序的日志
As a result you should see the log on the console from your WKInterfaceController
WathcKit
Extension
这篇关于watchkit 扩展未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!