gpt4 book ai didi

ios - 在 IOS 上的 React Native 上找不到 RCTConvert+AirMap.h 文件错误

转载 作者:行者123 更新时间:2023-12-03 20:50:08 28 4
gpt4 key购买 nike

enter image description here
我有这个错误。在 IOS 上的 React Native 上找不到 RCTConvert+AirMap.h 文件错误

最佳答案

我能够解决这个问题:

  • 添加 $(SRCROOT)/../node_modules/react-native-maps/lib/ios/AirMaps 在项目目标标题中
  • 搬家 pod 'react-native-google-maps', path: rn_maps_path以上 use_native_modules (以前低于此)在 Podfile
  • 添加:
  •   post_install do |installer|
    //...
    if target.name == 'react-native-google-maps'
    target.build_configurations.each do |config|
    config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
    end
    end

    end
    end
  • 在第 3 步之后,如果仍然无法正常工作,请删除所有缓存
    ( pod deintegrate , pod install , remove derived data , clean build )
  • 关于ios - 在 IOS 上的 React Native 上找不到 RCTConvert+AirMap.h 文件错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63261101/

    28 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com