【发布时间】:2015-07-10 10:32:11
【问题描述】:
我正在尝试为 Apple Watch 开发我的应用扩展。
我没有在手表上安装应用程序,而是出现此错误:
AppName 无法安装 AppName,错误:Invalid Bundle - No Apple Watch Binary
在我的 info.plist 文件中...
对于扩展,我有:
<key>CFBundleIdentifier</key>
<string>com.mycompany.AppName.watchkitextension</string>
<key>WKAppBundleIdentifier</key>
<string>com.mycompany.AppName.watchkitapp</string>
对于 WatchKit 应用,我有:
<key>CFBundleIdentifier</key
<string>com.mycompany.AppName.watchkitapp</string>
<key>WKCompanionAppBundleIdentifier</key>
<string>com.mycompany.AppName</string>
对于我的应用,我有:
<key>CFBundleIdentifier</key>
<string>com.mycompany.AppName</string>
我错过了什么吗?
【问题讨论】:
标签: ios apple-watch