我正在尝试安装 webview_flutter 插件,但不知何故我的构建每次都失败
\n\nLaunching lib/main.dart on iPhone 11 Pro in debug mode...\n\nRunning Xcode build...\n\n \xe2\x94\x9c\xe2\x94\x80Assembling Flutter resources... 10.2s\n \xe2\x94\x94\xe2\x94\x80Compiling, linking and signing... 2.1s\nXcode build done.\n17.5s\nFailed to build iOS app\nError output from Xcode build:\n\xe2\x86\xb3\n ** BUILD FAILED **\n\n\nXcode's output:\n\xe2\x86\xb3\n <path_to_project>ios/Runner/GeneratedPluginRegistrant.m:10:9: fatal\n error: module 'webview_flutter' not found\n @import webview_flutter;\n ~~~~~~~^~~~~~~~~~~~~~~\n 1 error generated.\n note: Using new build system\n note: Building targets in parallel\n note: Planning build\n note: Constructing build description\n\nCould not build the application for the simulator.\nError launching application on iPhone …Run Code Online (Sandbox Code Playgroud) 我使用的
"dustjs-helpers": "1.6.0",有"dustjs-linkedin": "^2.6.0".
在我的模板中,我需要检查OR条件
if( cherry === true || berry === true)
path/to/template1/
else
path/to/template2/
Run Code Online (Sandbox Code Playgroud)
如何使用Dust帮助器实现这一目标?