【问题标题】:Flutter project Pod install issue in ios sideios端的Flutter项目Pod安装问题
【发布时间】:2022-11-09 19:49:42
【问题描述】:

我试图在 iOS 端安装 Flutter 项目..但我无法在 iOS 端安装 pod

its error show [!] Invalid Podfile file: no implicit conversion of nil into String.

【问题讨论】:

    标签: cocoapods flutter-dependencies


    【解决方案1】:

    通过删除 ios 文件夹中的 PodfilePodfile.lock 来修复它,然后运行:

    flutter run
    

    或者

    flutter build ios
    

    这样flutter将为flutter生成新的Podfile

    【讨论】:

    • 谢谢先生的回复。是的,我在终端上做了,但又产生了一些问题
    • 发布您的错误
    • [!] 无效的Podfile 文件:没有将 nil 隐式转换为字符串。 # 来自 /Users/atpl/Documents/insuranceflutter/ios/Podfile:57 # --------------------------------- ---------- # 除非 File.exist?(copied_framework_path) > FileUtils.cp_r(File.join(cached_framework_dir, 'Flutter.framework'), mapped_flutter_dir) # end # -------- ------------------------------------user18710300
    • 嘿关于这个的任何帮助
    猜你喜欢
    • 1970-01-01
    • 2019-05-24
    • 1970-01-01
    • 2021-01-22
    • 1970-01-01
    • 2017-09-30
    • 1970-01-01
    • 2018-12-27
    • 2020-07-28
    相关资源
    最近更新 更多