最近升級了Xcode8.0,用Xcode8.0上傳項(xiàng)目時(shí)提交了半天都說提交成功财岔,但是在iTunesConnect里 我的APP 構(gòu)建版本 一直不出現(xiàn)风皿,聯(lián)系蘋果后 是這樣回復(fù)我的
Dear developer,
We have discovered one or more issues with your recent delivery for "星設(shè)匯 - 個(gè)性珠寶首飾河爹,婚戒對戒獨(dú)家定制". To process your delivery, the following issues must be corrected:
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSCameraUsageDescription key with a string value explaining to the user how the app uses this data.
Once these issues have been corrected, you can then redeliver the corrected binary.
意思是info.plist里面沒有設(shè)置NSPhotoLibraryUsageDescription、NSCameraUsageDescription桐款、NSContactsUsageDescription咸这、NSMicrophoneUsageDescription等字段,之前這些都是預(yù)設(shè)的不用加魔眨,現(xiàn)在強(qiáng)制了媳维,下面貼上解決方案
大概意思就是得在plist里面必須加上NSPhotoLibraryUsageDescription和NSCameraUsageDescription的鍵值對才行,之前都是默認(rèn)的遏暴,現(xiàn)在必須加侄刽,要不不讓通過,真是坑啊~~具體配置如下圖:
大概統(tǒng)計(jì)了一下需要加的一些字段列在下面:
NSContactsUsageDescription -> 通訊錄
NSMicrophoneUsageDescription -> 麥克風(fēng)
NSPhotoLibraryUsageDescription -> 相冊
NSCameraUsageDescription -> 相機(jī)
NSLocationAlwaysUsageDescription -> 地理位置
NSLocationWhenInUseUsageDescription -> 地理位置
大概就是以上的一些字段朋凉,寫一篇博客總結(jié)一下州丹,方便以后用到的時(shí)候能找到,如果大家有補(bǔ)充的可以告訴我一下杂彭,謝謝大家的閱讀
原文地址:http://blog.csdn.net/zp511253886/article/details/52584210