Home >Web Front-end >uni-app >What should I do if uniapp cannot list the IOS package?
##The operating environment of this tutorial: windows7 system, uni-app v3 version, Dell G3 computer. Recommendation (free):The solution to the problem that uniapp cannot put the IOS package on the shelf: 1. Configure in manifest.json; 2. Need to modify the version name and version number; 3. Provide screenshots of the app during review.
uniApp - Rejection situation, reasons and modifications when listing IOS packages
1. Because it has the function of collecting user data, such as: obtaining the geographical location, accessing the photo album, opening the camera, address book, microphone, etc. Relevant information needs to be configured, otherwise it will be refused to be put on the shelves, as shown below.
Analysis reason: There is no explanation as to why the above function is called.
Solution: It needs to be configured in manifest.json. See the official documentation. However, the current official documentation does not list the various attributes and meanings in plistcmds. The following question lists some, but it is not comprehensive.
"plistcmds": [ "Set :NSLocationWhenInUseUsageDescription 说明使用用户地理位置的原因", "Set :NSLocationAlwaysUsageDescription 说明持续获取用户地理位置的原因", "Set :NSLocationAlwaysAndWhenInUseUsageDescription 说明总是在使用时获取用户地理位置的原因", "Set :NSCameraUsageDescription 说明使用用户相机的原因", "Set :NSContactsUsageDescription 说明读取用户通讯录的原因", "Set :NSMicrophoneUsageDescription 说明使用麦克风的原因", "Set :NSPhotoLibraryUsageDescription 说明读取用户相册的原因", "Set :NSPhotoLibraryAddUsageDescription 说明向用户相册添加图片的原因"],The result of my modification is shown in the picture below:
The above is the detailed content of What should I do if uniapp cannot list the IOS package?. For more information, please follow other related articles on the PHP Chinese website!