【发布时间】: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[...]
【问题讨论】: