运行Flutter App时出错

时间:2018-08-11 13:02:26

标签: mobile dart flutter

我正在Flutter上开发应用程序,但是当我在模拟器中运行该应用程序时,IntelliJIdea会给我以下错误:

//iframe[@src="https://somepage.com"]


Error output from CocoaPods:
↳
    Ignoring bindex-0.5.0 because its extensions are not built.  Try: gem pristine bindex --version 0.5.0
    Ignoring bootsnap-1.3.1 because its extensions are not built.  Try: gem pristine bootsnap --version 1.3.1
    Ignoring byebug-10.0.2 because its extensions are not built.  Try: gem pristine byebug --version 10.0.2
        [33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
        Consider adding the following to ~/.profile:

export LANG=en_US.UTF-8 [0m Ignoring ffi-1.9.25 because its extensions are not built. Try: gem pristine ffi --version 1.9.25 Ignoring gem-wrappers-1.4.0 because its extensions are not built. Try: gem pristine gem-wrappers --version 1.4.0 Ignoring msgpack-1.2.4 because its extensions are not built. Try: gem pristine msgpack --version 1.2.4 Ignoring puma-3.12.0 because its extensions are not built. Try: gem pristine puma --version 3.12.0 Ignoring sqlite3-1.3.13 because its extensions are not built. Try: gem pristine sqlite3 --version 1.3.13 [!] Automatically assigning platform `ios` with version `8.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Error running pod install

有人可以提供建议吗?

谢谢

1 个答案:

答案 0 :(得分:0)

通过在Podfile中取消对use_frameworks的注释,我能够解决此特定问题。