is子非鱼
is子非鱼
  • 发布:2022-11-07 13:45
  • 更新:2024-10-22 16:24
  • 阅读:463

【manifest.json】配置plists,ios上架警告

分类:uni-app

appstore警告内容:

ITMS-90737: Missing Document Configuration - By declaring the CFBundleDocumentTypes key in your app, you've indicated that your app is able to open documents. Please set the UISupportsDocumentBrowser key to 'YES' if your app uses a UIDocumentBrowserViewController. Otherwise, set the LSSupportsOpeningDocumentsInPlace key in the Info.plist to 'YES' (recommended) or 'NO' to specify whether the app can open files in place. All document-based apps must include one of these configurations. For more information, visit https://developer.apple.com/document-based-apps/.

请问,我的配置该如何调整?

2022-11-07 13:45 负责人:无 分享
已邀请:
FullStack

FullStack - 【插件开发】【专治疑难杂症】【ios上架、马甲包、白包、过审、已成功上架过几百个】【多款插件已上架:https://ext.dcloud.net.cn/publisher?id=22130】【非诚勿扰】QQ:543610866

UISupportsDocumentBrowser 设置为 yes

或者 设置 LSSupportsOpeningDocumentsInPlace

  • is子非鱼 (作者)

    看我截图,配置的不对吗?


    "ios" : { "urltypes" : "", "UIBackgroundModes" : "audio", "LSSupportsOpeningDocumentsInPlace" : true, "idfa" : false, "dSYMs" : false, "capabilities" : { "plists" : { "CFBundleDocumentTypes" : [ { "CFBundleTypeName" : "com.app.my", "LSHandlerRank" : "Alternate", "LSItemContentTypes" : [ "public.item" ] } ] } }, "plists" : { "CFBundleDocumentTypes" : [ { "CFBundleTypeName" : "com.app.my", "LSHandlerRank" : "Alternate", "LSItemContentTypes" : [ "public.item" ] } ] } },

    2022-11-07 14:31

  • yaomu

    回复 is子非鱼: 请问一下解决了吗?我遇到了一样的问题,这个需要怎么配置呢?

    2024-06-12 17:06

8***@qq.com

8***@qq.com

刚好遇到这个问题,提交我的解决方法
我没有在manifest.json添加配置,而是在项目根目录的info.plist文件里面添加

    <key>UISupportsDocumentBrowser</key>  
    <true/>

要回复问题请先登录注册