[英]Error UTF-8 pod install & Phared Preferences iOS Flutter
我运行pod install
Android Studio中的终端返回
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
安装package时出现错误
我通过 Mac Terminal 运行项目
Xcode's output:
↳
/Users/mac/Desktop/app/ios/Runner/GeneratedPluginRegistrant.m:12:9: fatal
error: module 'shared_preferences_ios' not found
@import shared_preferences_ios;
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
note: Using new build system
note: Planning
note: Build preparation complete
note: Building targets in parallel
warning: Capabilities for Signing & Capabilities may not function correctly
because its entitlements use a placeholder team ID. To resolve this, select
a development team in the Runner editor. (in target 'Runner' from project
'Runner')
Could not build the application for the simulator.
Error launching application on iPhone 8.
我该如何解决?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.