你好,歡迎來到IOS教程網

 Ios教程網 >> IOS編程開發 >> IOS開發綜合 >> iOS10項目打包上傳被拒關於隱私權限問題

iOS10項目打包上傳被拒關於隱私權限問題

編輯:IOS開發綜合

今天項目打包提交。收到了蘋果的郵件。主要內容:

This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSBluetoothPeripheralUsageDescription 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文件 >Open As >Source Code 打開復制以下你在應用中使用的隱私權限設置(描述自己修改)

 

    NSVideoSubscriberAccountUsageDescription
    
    NSBluetoothPeripheralUsageDescription
    藍牙權限
    NSSpeechRecognitionUsageDescription
    語音識別權限
    NSSiriUsageDescription
    Siri權限
    NSRemindersUsageDescription
    
    NSPhotoLibraryUsageDescription
    相冊權限
    kTCCServiceMediaLibrary
    
    NSMotionUsageDescription
    運動權限
    NSMicrophoneUsageDescription
    麥克風權限
    NSAppleMusicUsageDescription
    音樂權限
    NSLocationWhenInUseUsageDescription
    地理位置權限
    NSLocationUsageDescription
    地理位置權限
    NSLocationAlwaysUsageDescription
    地理位置權限
    NSHomeKitUsageDescription
    
    NSHealthUpdateUsageDescription
    健康權限
    NSHealthShareUsageDescription
    健康權限
    NSContactsUsageDescription
    通訊錄權限
    NSCameraUsageDescription
    攝像頭權限
    NSCalendarsUsageDescription
    日歷權限

 

  1. 上一頁:
  2. 下一頁:
蘋果刷機越獄教程| IOS教程問題解答| IOS技巧綜合| IOS7技巧| IOS8教程
Copyright © Ios教程網 All Rights Reserved