我正在尝试为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)
我错过了什么?