无法安装应用程序错误:无效的捆绑包 - 没有Apple Watch二进制文件 [英] Failed to install app error: Invalid Bundle - No Apple Watch Binary
本文介绍了无法安装应用程序错误:无效的捆绑包 - 没有Apple Watch二进制文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试为Apple Watch开发我的应用扩展程序。
I'm trying to develop an extension of my app for the Apple Watch.
我没有在手表上安装应用程序,我有这样的错误:
Instead of install the app on the watch, I have this error:
AppName无法安装AppName,错误:无效的捆绑包 - 没有Apple Watch二进制文件
AppName Failed to install AppName, error: Invalid Bundle - No Apple Watch Binary
在我的info.plist文件中...
In my info.plist files...
对于扩展程序,我有:
<key>CFBundleIdentifier</key>
<string>com.mycompany.AppName.watchkitextension</string>
<key>WKAppBundleIdentifier</key>
<string>com.mycompany.AppName.watchkitapp</string>
对于WatchKit应用程序,我有:
For the WatchKit app, I have:
<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>
我错过了什么吗?
推荐答案
尝试在WatchKit应用程序的info.plist中显式设置可执行文件。
Try explicitly setting the "Executable file" in the WatchKit app's info.plist.
我更改了可执行文件的名称和有同样的问题。
I had changed the name of my executable file and had the same issue.
这篇关于无法安装应用程序错误:无效的捆绑包 - 没有Apple Watch二进制文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文