今天遇到了个奇怪的问题,如标题所示
Application Loader 上传应用到AppStore 提示成功,但是iTunesConnect里却一直没有可以构建的版本
这个是ipa的包出现了问题,会收到苹果的邮件
Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSCalendarsUsageDescription 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 will be 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://deve<wbr>loper.apple.<wbr>com/document<wbr>ation/uikit/<wbr>core_app/pro<wbr>tecting_the_<wbr>user_s_priva<wbr>cy).
Missing Purpose String in Info.plist File - Your app's code references one or more APIs that access sensitive user data. The app's Info.plist file should contain a NSBluetoothPeripheralUsageDescription 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 will be 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://deve<wbr>loper.apple.<wbr>com/document<wbr>ation/uikit/<wbr>core_app/pro<wbr>tecting_the_<wbr>user_s_priva<wbr>cy).
这是xcode10 和 iOS8 新出的功能 需要在plist文件中添加权限
所有的权限如下:
<key>NSBluetoothPeripheralUsageDescription</key>
<string>是否允许此app访问蓝牙</string>
<key>NSCalendarsUsageDescription</key>
<string>是否允许此app访问日历</string>
<key>NSCameraUsageDescription</key>
<string>是否允许此app访问相机</string>
<key>NSHealthShareUsageDescription</key>
<string>是否允许此app访问健康分享</string>
<key>NSHealthUpdateUsageDescription</key>
<string>是否允许此app访问健康更新 </string>
<key>NSLocationAlwaysUsageDescription</key>
<string>是否允许此app访问位置</string>
<key>NSLocationUsageDescription</key>
<string>是否允许此app访问位置</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>是否允许此app在使用期间访问位置</string>
<key>NSMicrophoneUsageDescription</key>
<string>是否允许此app访问麦克风</string>
<key>NSMotionUsageDescription</key>
<string>是否允许此app访问运动与健身</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>是否允许此app访问相册</string>
<key>NSRemindersUsageDescription</key>
<string>是否允许此app访问提醒事项</string>
网友评论