【问题标题】:Expo document picker install IOS SimulatorExpo文档选择器安装IOS模拟器
【发布时间】:2022-06-14 09:20:52
【问题描述】:

您好,我正在尝试安装 expo-document-picker doc

我认为我做的一切都是正确的,但我仍然有错误:[Error: DocumentPicker requires the iCloud entitlement. If you are using ExpoKit, you need to add this capability to your App Id. See 'https://docs.expo.io/versions/latest/expokit/advanced-expokit-topics#using-documentpicker' for more info.] only on IOS 模拟器

Expo SDK:43.0.0

我正在处理托管工作流案例(因为我只有/ios/settings.json)。所以我这样做了:

我运行了命令expo build:ios -c,构建成功结束:

我也在我的app.json 中添加了这个:

"plugins": [
      [
        "expo-document-picker",
        {
          "appleTeamId": "*********"
        }
      ]
    ]

我唯一没有做的是:

[...] 您需要撤销现有的配置文件并运行 expo build:ios -c [...]

这是否意味着我拥有我的两个个人资料?

【问题讨论】:

    标签: ios expo


    【解决方案1】:

    您需要撤销已使用的配置文件之一并添加具有 icloud 标识符的新配置文件...这将应用所需的更改...

    https://docs.expo.dev/versions/latest/sdk/document-picker/#managed-workflow

    【讨论】:

      猜你喜欢
      • 2011-09-14
      • 1970-01-01
      • 1970-01-01
      • 2020-05-15
      • 2016-06-28
      • 1970-01-01
      • 1970-01-01
      • 2013-12-27
      • 2015-02-01
      相关资源
      最近更新 更多