美文网首页
Flutter ios编译填坑

Flutter ios编译填坑

作者: Broncho | 来源:发表于2022-02-23 01:27 被阅读0次
    1. Flutter/ fatal error: 'Flutter/Flutter.h' file not found

    -> flutter create . -i objc
    -> flutter pub cache repair
    -> cd ios
    -> pod init
    -> pod install

    1. This copy of libswiftCore.dylib requires an OS version prior to 12.2.0
      https://www.jianshu.com/p/00991deee746
      Got it fixed in our ObjectiveC-only project by adding empty Swift file. Don't remove it, just keep it there forever!

    2. Can't load Kernel binary: Invalid kernel binary format version. No active package webdev

    Delete the bin/cache directory in your Flutter installation directory, then run flutter doctor.

    相关文章

      网友评论

          本文标题:Flutter ios编译填坑

          本文链接:https://www.haomeiwen.com/subject/khnnlrtx.html