【发布时间】:2015-06-04 06:37:36
【问题描述】:
我正在构建一个 Apple Watch 应用程序,为此我创建了一个 AppGroup 并设置配置文件和证书。
现在的问题是在构建/运行“watchkit 应用程序”时,xcode 会抛出一个错误,
warning: Capabilities that require entitlements from “appname WatchKit Extension/appname WatchKit Extension.entitlements" may not function in the Simulator because the provisioning profile specified in your build settings (“WatchKitProfile”) has an AppID of “com.id.watchApp” which does not match your bundle identifier “com.id.watchApp.watchkitextension”.
applewatch 模拟器中没有显示任何内容。但应用程序在 iPhone 模拟器中运行良好。
即使是 applewatch 方法也没有调用 WKInterfaceController.openParentApplication
还有一个疑问,我正在使用其他成员已经使用的 appgroup。这会产生任何问题还是这个警告的问题。
谁能帮帮我。
【问题讨论】:
标签: iphone xcode apple-watch