Flutter-运行Pod安装时出现问题-`image_picker_modern`

时间:2019-03-04 15:29:27

标签: ios flutter

我正在尝试运行pod安装以运行我的应用程序,但是图像选择器现代库出现问题,我是iOS建筑物的新手,所以,我不必做。

日志是这样的:

    WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:

export LANG=en_US.UTF-8

Analyzing dependencies
Fetching podspec for `Flutter` from `.symlinks/flutter/ios`
Fetching podspec for `camera` from `.symlinks/plugins/camera/ios`
Fetching podspec for `device_info` from `.symlinks/plugins/device_info/ios`
Fetching podspec for `firebase_messaging` from `.symlinks/plugins/firebase_messaging/ios`
Fetching podspec for `flutter_twitter_login` from `.symlinks/plugins/flutter_twitter_login/ios`
Fetching podspec for `flutter_webview_plugin` from `.symlinks/plugins/flutter_webview_plugin/ios`
Fetching podspec for `google_sign_in` from `.symlinks/plugins/google_sign_in/ios`
Fetching podspec for `image_picker_modern` from `.symlinks/plugins/image_picker_modern/ios`
    [!] No podspec found for `image_picker_modern` in `.symlinks/plugins/image_picker_modern/ios`

1 个答案:

答案 0 :(得分:1)

此处的图书馆所有者,请使用版本0.4.13-1而不是0.4.12+1。另外,这是尝试修复image_picker官方网站https://github.com/flutter/flutter/issues/21863#issuecomment-455055624上报告的错误。即使该错误已由协作者关闭,但修复方法与我的不同,并且有些人仍然受此错误困扰,因此,如果您遇到相同的错误,请考虑向此Github issue报告。