我正在尝试从 expo 托管项目构建 iOS 应用程序(模拟器)。构建在 Pod 安装步骤失败。
在 Expo SDK 44 中一切正常。但是当我升级到 SDK 45 甚至 46 时,我遇到了这个问题。
以下是来自 expo 服务器的一些日志:
跑博医生
Running "expo doctor"
- Finding all copies of expo-modules-autolinking
- Finding all copies of @expo/config-plugins
[stderr]
[02:48:23] Expected package @expo/config-plugins@^5.0.0
[stderr]
[02:48:23] Found invalid:
[stderr]
[02:48:23] @expo/config-plugins@4.1.5
[stderr]
[02:48:23] (for more info, run: npm why @expo/config-plugins)
- Finding all copies of @expo/prebuild-config
- Finding all copies of @unimodules/core
- Finding all copies of @unimodules/react-native-adapter
- Finding all copies of …Run Code Online (Sandbox Code Playgroud) 我正在尝试从 expo 托管项目构建 iOS 应用程序。构建在快速通道步骤失败。
\n在 Expo SDK 44、45 中一切正常。但是当我升级到 SDK 46 时,我遇到了这个问题。
\n这是我的 package.json
\n {\n "name": "App123",\n "version": "1.0.0",\n "main": "node_modules/expo/AppEntry.js",\n "scripts": {\n "start": "expo start",\n "android": "expo start --android",\n "ios": "expo start --ios",\n "web": "expo start --web"\n },\n "dependencies": {\n "@expo/vector-icons": "^13.0.0",\n "@openspacelabs/react-native-zoomable-view": "^2.0.4",\n "@react-native-community/datetimepicker": "6.2.0",\n "@react-native-community/netinfo": "9.3.0",\n "@react-native-community/slider": "4.2.3",\n "@react-native-google-signin/google-signin": "^8.0.0",\n "@react-navigation/bottom-tabs": "^6.4.0",\n "@react-navigation/drawer": "^6.5.0",\n "@react-navigation/native": "^6.0.13",\n "@react-navigation/native-stack": "^6.9.0",\n "@react-navigation/stack": "^6.3.2",\n "@stripe/stripe-react-native": "0.13.1",\n "apisauce": "^2.1.6",\n "expo": "~46.0.13",\n "expo-apple-authentication": "^4.3.0",\n "expo-auth-session": "^3.7.1",\n "expo-constants": "^13.2.4",\n "expo-dev-client": …Run Code Online (Sandbox Code Playgroud) 我在我的 React Native 项目之一中使用图像选择器。现在,我需要在从图库中选取图像或使用相机捕获图像时添加一些限制。
我只想选择jpeg类型的图像,并且它们的内存必须小于2000kB。
可以使用 expo-image-picker 吗?提前致谢。
我正在尝试从 expo 托管项目构建 iOS 应用程序。构建在 Pod 安装步骤失败。
在 Expo SDK 44、45 中一切正常。但是当我升级到 SDK 46 时,我遇到了这个问题。
这是我的 package.json
{
"name": "App1234",
"version": "1.0.0",
"main": "node_modules/expo/AppEntry.js",
"scripts": {
"start": "expo start",
"android": "expo start --android",
"ios": "expo start --ios",
"web": "expo start --web"
},
"dependencies": {
"@expo/vector-icons": "^13.0.0",
"@openspacelabs/react-native-zoomable-view": "^2.0.4",
"@react-native-community/datetimepicker": "6.2.0",
"@react-native-community/netinfo": "9.3.0",
"@react-native-community/slider": "4.2.3",
"@react-native-google-signin/google-signin": "^8.1.0",
"@react-navigation/bottom-tabs": "^6.4.0",
"@react-navigation/drawer": "^6.5.0",
"@react-navigation/native": "^6.0.13",
"@react-navigation/native-stack": "^6.9.0",
"@react-navigation/stack": "^6.3.2",
"@stripe/stripe-react-native": "0.13.1",
"@types/react-native": "~0.69.1",
"apisauce": "^2.1.6",
"expo": "~46.0.13",
"expo-apple-authentication": "^4.3.0",
"expo-constants": "^13.2.4",
"expo-document-picker": "^10.3.0", …Run Code Online (Sandbox Code Playgroud)