我正在尝试为Apple Watch开发我的应用程序的扩展。
但是,当我尝试在手表上安装应用程序时,出现以下错误:
AppName安装失败,错误:无效的捆绑包 - 没有Apple Watch二进制文件
在我的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>
我错过了什么吗?