我正在从事Flutter项目。在pubspec.yaml文件中声明了很少的依赖项。Project在Android上运行良好,但是当我尝试在iOS上运行时。我收到以下错误。搜索了多个问题,无法找出确切的问题。
.../Flutter/Debug.xcconfig: unable to open file (in target "Runner" in project "Runner") (in target 'Runner' from project 'Runner')
pubspec.yaml依赖项
flutter_svg: ^0.19.1
flutter:
sdk: flutter
flutter_dash: ^0.0.1
readmore: ^1.0.1
cupertino_icons: ^0.1.3
chopper: ^3.0.6
logging: ^0.11.4
package_info: '>=0.4.3+2 <2.0.0'
provider: ^4.3.2+3
sprintf: ^5.0.0
在存储库中以某种方式缺少“ Debug.xcconfig”和“ Release.xcconfig”文件。手动添加它们,iOS版本现在也可以正常工作。
Debug.xcconfig文件
#include "Generated.xcconfig"
Release.xcconfig文件
#include "Generated.xcconfig"
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句