今天提交版本到appstore,构建版本一直不出来,等了一天也没有出来,其实就是权限问题,iOS13 来了,所以面临的问题随之而来,苹果给邮箱发了这段话:
Dear Developer,We identified one or more issues with a recent delivery for your app, "xxxxx" 2.3.4 (553). Please correct the following issues, then upload again.ITMS-90683: Missing Purpose String in Info.plist - Your app‘s code references one or more APIs that access sensitive user data. The app‘s Info.plist file should contain a NSBluetoothAlwaysUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. Starting Spring 2019, all apps submitted to the App Store that access user data are required to include a purpose string. If you‘re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required. You can contact the developer of the library or SDK and request they release a version of their code that doesn‘t contain the APIs. Learn more (https://developer.apple.com/documentation/uikit/core_app/protecting_the_user_s_privacy).Though you are not required to fix the following issues, we wanted to make you aware of them:ITMS-90381: Too many symbol files - These symbols have no corresponding slice in any binary [0859C22E-6E4E-3D73-B700-AA7BCFA116E0.symbols, 278F6E37-DC54-3142-9137-2DB05C9D09BE.symbols, 2AB61708-0303-35BE-AAE4-45AD755176CC.symbols, 4F653BB0-508A-3EF1-8958-064869E9549B.symbols, 50AE951D-F40E-3269-AE0E-B02D306FA84C.symbols, 830A4133-B23A-3D65-9E76-A6A77FCF04C4.symbols, B2BA4432-56CC-3652-961B-3667E8FB32CA.symbols, DAA66595-CDF3-3C0D-9709-45002A7FE404.symbols, E3A28CF7-DD19-3181-AC2C-5ADD30FDE329.symbols, EA7AF7AE-B943-3FDF-AB7F-0B6A64751293.symbols].Best regards,The App Store Team
[图片]
翻译出来就是蓝牙的权限有了新的方法,iOS13 将废弃 NSBluetoothPeripheralUsageDescription 替换为 NSBluetoothAlwaysUsageDescription
在 在info.plist中添加新字段
重新打包上传即可