我想在沒有iPhone開發人員賬戶的iOS模擬器中測試HealthKit應用程序。我添加了啓用了com.apple.developer.healthkit功能的授權文件,並且在構建應用程序時似乎將該文件包含在軟件包中,但是當我嘗試訪問HealthKit API時,Simulator會引發此錯誤:在沒有開發者賬戶的情況下嘗試使用iOS模擬器的HealthKit
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 – anoop4real 2015-12-06 12:46:23