Home  >  Article  >  Web Front-end  >  What should I do if uniapp cannot list the IOS package?

What should I do if uniapp cannot list the IOS package?

藏色散人
藏色散人Original
2020-12-08 11:28:185757browse

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.

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):

uni-app development tutorial

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.


What should I do if uniapp cannot list the IOS package? 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:


What should I do if uniapp cannot list the IOS package?

2. After the modification is completed after being rejected, the version name and version number need to be modified. It cannot be smaller than the previous version, otherwise it cannot be uploaded.

3. Screenshots of the app are required for review, including: iPhone 6 and iphone x

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn