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

React Native 0.73.2集成react-native-maps时iOS构建失败求助

React Native iOS构建失败求助(react-native v0.73.2)

我正在使用react-native v0.73.2,Android端应用可成功构建,但iOS版本构建出现问题。Cocopods已成功安装,执行yarn ios时遇到如下错误:

The following build commands failed:
    CompileC /Users/nino/Library/Developer/Xcode/DerivedData/PlitviceMobile-aonymzxbkvahywhidgtjlsmxrplx/Build/Intermediates.noindex/PlitviceMobile.build/Debug-iphonesimulator/PlitviceMobile.build/Objects-normal/arm64/AIRGoogleMapOverlayManager.o /Users/nino/code/plitvice/node_modules/react-native-maps/ios/AirGoogleMaps/AIRGoogleMapOverlayManager.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'PlitviceMobile' from project 'PlitviceMobile')
(1 failure)

通过Xcode运行时出现一系列错误(附错误截图:第一个错误、第二个错误)。

请问有人知道问题所在及解决方法吗?我已尝试网上能找到的所有方案,包括:

  • 重新安装react-native-maps
  • 重新安装pods
  • 清理构建文件夹
  • 通过Xcode执行构建

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

相关产品推荐
方舟 Agent Plan

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

最近更新时间:2026.06.27 10:02:41