react-native 对ios系统版本的支持情况

发布于 2022-09-12 13:38:27 字数 2871 浏览 13 评论 0

基于react-native 0.59.10开发的app,苹果的App Store上已经上线了,但是发现ios10下载不了,提示必须升级到13.6或者以上的版本。
image.png

在react-native官网上没有看到框架对ios和android系统版本的支持情况,不确定是react-native不支持ios10还是用到的某个库不支持

package.json文件

{
  "name": "AOBOMobile",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest",
    "ios": "react-native run-ios",
    "ios:release": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output bundle/main.jsbundle --assets-dest bundle/ && react-native run-ios --configuration Release",
    "android": "cd android && ./gradlew clean && cd .. && react-native run-android",
    "android:release": "react-native bundle  --entry-file index.js --bundle-output  ./android/app/src/main/assets/index.android.bundle  --platform android --assets-dest ./android/app/src/main/res/ --dev false && cd android && ./gradlew assembleRelease",
    "postinstall": "./postinstall.sh"
  },
  "dependencies": {
    "@react-native-community/async-storage": "^1.11.0",
    "babel-plugin-root-import": "^6.5.0",
    "geolib": "^3.0.4",
    "moment": "^2.24.0",
    "native-base": "^2.13.12",
    "prop-types": "^15.7.2",
    "react": "16.8.3",
    "react-native": "0.59.10",
    "react-native-aliyun-push": "^1.0.17",
    "react-native-amap3d": "^1.1.1",
    "react-native-camera": "^1.13.1",
    "react-native-datepicker": "^1.7.2",
    "react-native-dropdown-picker": "^3.6.8",
    "react-native-expandable-section-flatlist": "^1.2.2",
    "react-native-gesture-handler": "^1.3.0",
    "react-native-image-picker": "^0.28.1",
    "react-native-image-zoom-viewer": "^2.2.26",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-nfc-manager": "^1.2.6",
    "react-native-reanimated": "^1.1.0",
    "react-native-root-toast": "3.1.2",
    "react-native-simple-store": "^2.0.2",
    "react-native-smart-tip": "^2.2.1",
    "react-native-splash-screen": "^3.2.0",
    "react-native-svg": "^9.6.1",
    "react-native-swipe-list-view": "^2.0.0",
    "react-native-timeline-listview": "^0.2.3",
    "react-navigation": "^3.11.1",
    "react-navigation-backhandler": "^1.3.2",
    "react-redux": "^7.1.0",
    "redux": "^4.0.4",
    "redux-logger": "^3.0.6",
    "redux-saga": "^1.0.5",
    "victory-native": "^32.0.2"
  },
  "devDependencies": {
    "@babel/core": "^7.5.5",
    "@babel/runtime": "^7.5.5",
    "babel-jest": "^24.8.0",
    "jest": "^24.8.0",
    "metro-react-native-babel-preset": "^0.55.0",
    "react-test-renderer": "16.8.3"
  },
  "jest": {
    "preset": "react-native"
  }
}

通过react-native info命令输出了这样的信息,里边提到的里边提到的ios系统版本貌似是我电脑上安装的模拟器的系统版本
image.png

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

花期渐远 2022-09-19 13:38:27

貌似是xcode里的ios deployment target的设置问题

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文