尝试提交应用程序时,出现以下错误:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCalendarsUsageDescription key with a string value explaining to the user how the app uses this data.
我知道我可以添加一个描述来让新验证器满意,但我的应用程序不使用用户日历,所以如果可能的话我宁愿消除使用它的依赖项。我无法弄清楚如何找出哪个依赖项实际使用日历,如何检查?
我的项目有以下依赖项:
pod 'SnapKit', '0.22.0'
pod 'FBSDKCoreKit'
pod 'Alamofire', '~> 3.5'
pod "AFNetworking", '~> 3.1'
pod 'SDWebImage'
pod 'TTTAttributedLabel'
pod 'Masonry'
pod 'CocoaLumberjack/Swift', '2.3'
pod 'SZTextView'
pod 'HockeySDK', :subspecs => ['CrashOnlyLib']
pod 'GoogleMaps'
pod 'BugfenderSDK'
pod 'AppsFlyerFramework', '4.5.0'
pod 'CHTCollectionViewWaterfallLayout'
pod 'Firebase'
pod 'Firebase/Messaging'
pod 'CRToast', '~> 0.0.7'
pod 'Google-Mobile-Ads-SDK'
pod 'UIColor_Hex_Swift', :git => 'https://github.com/yeahdongcn/UIColor-Hex-Swift.git', :tag => '2.3'
以及链接的框架:
最佳答案
所以我联系了 Apple,他们实际上有一个很好的列表,其中包含所有 API 及其所需的权限。你可以找到它here (Technical Q&A QA1937) .
关于ios - Xcode8 提交错误-如何在 iOS10 上找出究竟需要特定权限的内容,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40462745/