Ios8 无法在iPhone上运行示例heathkit项目FitStoreandRetrieveHealthKitData
我已经从苹果开发者网站下载了示例健康套件应用程序(FitStoreandRetrieveHealthKitData)。尝试在我的iPhone上使用Xcode6测试版运行它。 但无法在设备上运行应用程序,并获取错误信息Ios8 无法在iPhone上运行示例heathkit项目FitStoreandRetrieveHealthKitData,ios8,xcode6,healthkit,Ios8,Xcode6,Healthkit,我已经从苹果开发者网站下载了示例健康套件应用程序(FitStoreandRetrieveHealthKitData)。尝试在我的iPhone上使用Xcode6测试版运行它。 但无法在设备上运行应用程序,并获取错误信息 dyld: Symbol not found: _HKQuantityTypeIdentifierDietaryCalories Referenced from: /private/var/mobile/Containers/Bundle/Application/95F193C
dyld: Symbol not found: _HKQuantityTypeIdentifierDietaryCalories
Referenced from: /private/var/mobile/Containers/Bundle/Application/95F193C0-52CE-47E0-92C4-0BF436AEB3AE/Fit.app/Fit
Expected in: /System/Library/Frameworks/HealthKit.framework/HealthKit
in /private/var/mobile/Containers/Bundle/Application/95F193C0-52CE-47E0-92C4-0BF436AEB3AE/Fit.app/Fit
有人能解决这个问题吗?HKQuantityTypeIdentifierDietaryCarries被重命名为HKQuantityTypeIdentifierDietaryEnergyConsumed。确保您正在使用与您在iPhone上安装的iOS 8版本相对应的iOS 8 SDK版本构建项目