小编eja*_*ski的帖子

无法安装应用程序错误:无效的捆绑包 - 没有Apple Watch二进制文件

我正在尝试为Apple Watch开发我的应用程序的扩展.

我没有在手表上安装应用程序,而是出现此错误:

AppName无法安装AppName,错误:无效的捆绑包 - 没有Apple Watch Binary

在我的info.plist文件中......

对于扩展,我有:

<key>CFBundleIdentifier</key>
    <string>com.mycompany.AppName.watchkitextension</string>
<key>WKAppBundleIdentifier</key>
    <string>com.mycompany.AppName.watchkitapp</string>
Run Code Online (Sandbox Code Playgroud)

对于WatchKit应用程序,我有:

<key>CFBundleIdentifier</key
    <string>com.mycompany.AppName.watchkitapp</string>
<key>WKCompanionAppBundleIdentifier</key>
    <string>com.mycompany.AppName</string>
Run Code Online (Sandbox Code Playgroud)

对于我的应用程序,我有:

<key>CFBundleIdentifier</key>
    <string>com.mycompany.AppName</string>
Run Code Online (Sandbox Code Playgroud)

我错过了什么?

ios apple-watch

11
推荐指数
2
解决办法
6148
查看次数

标签 统计

apple-watch ×1

ios ×1