开发日常遇到的bug
-
-
问题描述:第一次使用设备获取 HealthKit 里面的运动数据时,没有弹出授权提示,报如下错误:
1D088EDE-8BA2-4168-BBF2-F8A18F2E0C75.png
- 问题解决方案:(Apple的系统问题,已经在9.3系统之后修复,开发人员无需做什么操作)This was an iOS bug and has been fixed in iOS 9.3 beta 2. Developers can download the beta build from https://developer.apple.com/ios/download/ or wait until the 9.3 update is released to everyone.
https://stackoverflow.com/questions/33923541/error-in-healthkit-error-domain-com-apple-healthkit-code-100-failed-to-open-da
-
-
- ios -[NSTaggedPointerString 计数]: 无法识别的选择器发送到实例
- 问题解决:类型不对 例如申明了一个一维数组当做二维数组来用
self.items = [NSArray new];//1维数组
self.items[0][1]; //二维数组
当这样取值的时候,就会出现
-[NSTaggedPointerString count]: unrecognized selector sent to instance
这个错误
本来1维数组的取值方式为 self.items[1];
1.上架 二进制文件被拒
Guideline 5.1.5 - Legal - Privacy - Location Services
Your app uses location services but does not clarify the purpose of its use in the location modal alert. Apps that collect, transmit, or use location data must notify and obtain the user’s consent prior to accessing this data.
Please see attached screenshots for details.
Next Steps
To resolve this issue, please specify why the app is requesting the user's location in the location permission modal alert.
Resources
For additional information and instructions on configuring and presenting an alert, please review the Requesting Permissionsection of the iOS Human Interface Guidelines and the Information Property List Key Reference. You may also want to review the Technical Q&A QA1937: Resolving the Privacy-Sensitive Data App Rejection page for details on how to provide a usage description for permission request alerts.
解决办法
修改了定位的descriptionKey里面的描述,说明了使用定位的目的。
网友评论