You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

安装Xcode14.3.1后,Expo SDK52项目执行npm run ios遇pod install报错

问题:Expo SDK 52 结合 react-native-pytorch-core 运行 npm run ios 时 pod install 失败

我从苹果开发者网站安装了Xcode 14.3.1,正尝试创建使用Expo SDK 52和react-native-pytorch-core的应用。运行npm run ios时出现如下错误:

✔ Finished prebuild
⚠️  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file: Please upgrade XCode.

 #  from /Users/arushgarg/Downloads/mobile-ml/MobileML/ios/Podfile:39
 #  -------------------------------------------
 #  
 >    use_react_native!(
 #      :path => config[:reactNativePath],
 #  -------------------------------------------

pod install --repo-update --ansi exited with non-zero code: 1

补充环境信息:

  • Xcode 14.3.1 兼容至iOS 16.4
  • Expo 52 要求iOS 15.1及以上
  • Podfile 配置:platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'

内容的提问来源于stack exchange,提问作者Arush

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.06.15 22:45:59