【发布时间】:2014-10-17 22:35:02
【问题描述】:
我想在没有 iPhone 开发者帐户的情况下在 iOS 模拟器中测试 HealthKit 应用。我添加了一个启用了 com.apple.developer.healthkit 功能的授权文件,当我构建应用程序时,它似乎将文件包含在包中,但是当我尝试访问 HealthKit API 时,模拟器会抛出此错误:
Error Domain=com.apple.healthkit
Code=4 "Missing com.apple.developer.healthkit entitlement."
UserInfo=0x7fc939f091c0
{NSLocalizedDescription=Missing com.apple.developer.healthkit entitlement.}
是否有任何选项可以在没有开发者帐户的情况下在 iOS 模拟器中试用 HealthKit?
【问题讨论】:
-
现在可以使用 XCode7
标签: ios entitlements healthkit