1***@qq.com
1***@qq.com
  • 发布:2023-06-06 12:56
  • 更新:2023-06-06 12:56
  • 阅读:538

iOS+uniapp离线打包模式,真机调试提示:manifest.JSON解析失败请确保格式正确并不能包含注释

分类:uni-app

以下是manifest.JSON内容。如何解决该问题?

{  
    "@platforms": ["android", "iPhone", "iPad"],  
    "id": "__UNI__5000000",  
    "name": "视频测试",  
    "version": {  
        "name": "1.0.0",  
        "code": "1000"  
    },  
    "description": "应用描述",  
    "launch_path": "",  
    "developer": {  
        "name": "",  
        "email": "",  
        "url": ""  
    },  
    "permissions": {  
        "OAuth": {},  
        "Payment": {},  
        "Push": {},  
        "Share": {},  
        "Speech": {},  
        "VideoPlayer": {},  
        "UniNView": {  
            "description": "UniNView原生渲染"  
        }  
    },  
    "plus": {  
        "compatible":{  
            "ignoreVersion": true  
        },  
        "useragent": {  
            "value": "uni-app",  
            "concatenate": true  
        },  
        "splashscreen": {  
            "target": "id:1",  
            "autoclose": true,  
            "waiting": true,  
            "delay": 0  
        },  
        "popGesture": "close",  
        "launchwebview": {  
            "id": "1",  
            "kernel": "WKWebview",  
            "render": "always",  
            "uniNView": {  
                "path": "pages/tabBar/component/component.js"  
            }  
        },  
        "statusbar": {  
            "immersed": "supportedDevice",  
            "style": "light",  
            "background": "#007AFF"  
        },  
        "usingComponents": true,  
        "nvueCompiler": "uni-app",  
        "compilerVersion": 3,  
        "allowsInlineMediaPlayback": true,  
        "safearea": {  
            "background": "#F8F8F8",  
            "bottom": {  
                "offset": "auto"  
            }  
        },  
        "uni-app": {  
            "compilerVersion": "2.6.8",  
            "control": "uni-v3",  
            "nvueCompiler": "uni-app",  
            "renderer": "auto",  
            "nvue": {  
                "flex-direction": "column"  
            },  
            "nvueLaunchMode": "fast",  
            "distribute": {  
                "apple": {  
                    "privacyDescription": {  
                        "NSCameraUsageDescription": "使用相机"  
                    }  
                }  
            }  
        },  
        "tabBar": {  
            "color": "#7A7E83",  
            "selectedColor": "#007AFF",  
            "borderStyle": "rgba(0,0,0,0.4)",  
            "backgroundColor": "#F8F8F8",  
            "list": [{  
                "pagePath": "pages/tabBar/component/component",  
                "iconPath": "static/component.png",  
                "selectedIconPath": "static/componentHL.png",  
                "text": "内置组件"  
            }, {  
                "pagePath": "pages/tabBar/API/API",  
                "iconPath": "static/api.png",  
                "selectedIconPath": "static/apiHL.png",  
                "text": "接口"  
            }, {  
                "pagePath": "pages/tabBar/extUI/extUI",  
                "iconPath": "static/extui.png",  
                "selectedIconPath": "static/extuiHL.png",  
                "text": "扩展组件"  
            }, {  
                "pagePath": "pages/tabBar/template/template",  
                "iconPath": "static/template.png",  
                "selectedIconPath": "static/templateHL.png",  
                "text": "模板"  
            }],  
            "height": "50px",  
            "child": ["lauchwebview"]  
        }  
    },  
    "screenOrientation": ["portrait-primary", "portrait-secondary"]  
}
2023-06-06 12:56 负责人:无 分享
已邀请:

要回复问题请先登录注册