ios - 仅观看因缺少 HealthKit info.plist 键而被拒绝的应用程序二进制文件

标签 ios swift xcode app-store-connect watchos

我在使用 HealthKit 的仅限 Apple Watch 的应用程序中遇到了一个令人困惑的问题。由于 info.plist 中缺少 NSHealthShareUsageDescription 和 NSHealthUpdateUsageDescription 键,我在上传到 App Store Connect 时不断收到 Binary Rejected。我的 info.plist 中有这些 key ,并且已验证它们与我以前使用 Helathkit 并已成功上传的 iOS 应用程序相同。这是仅限 WatchOS 应用程序的问题吗?

My info.plist keys

最佳答案

我在这个网站上发现了:learningswift.brightdigit.com .显然我需要在 Xcode 项目文件下的项目中创建第三个 Info.plist 文件。 enter image description here

关于ios - 仅观看因缺少 HealthKit info.plist 键而被拒绝的应用程序二进制文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60602815/

相关文章:

ios - 使用键盘滑动 UIScrollView 并向上移动 View

swift - 更改 uiTableViewCell 中选定单元格的选中状态

ios - 无法在 iOS 12 上使用 SwiftyJSON 构建项目

ios - 取 NSArray 段的平均值

html - 如何以编程方式在 Swift 中请求桌面站点(没有 UIWebView)?

swift - 检测 iMessage 扩展中的用户交互

xcode - 如何从 xcode/mac 中删除结构插件

iphone - uitableviewcell中的两个部分

ios - 从 UINavigationController 堆栈转出到 UITabBarController

iphone - 以编程方式为 UITableViewController 设置 UIActivityIndi​​catorView