[英]Flutter iOS app don't run for xcode simulator -how fix it?
I have flutter's app for iOS.我有适用于 iOS 的颤振应用程序。 It is working on device.
它正在设备上运行。 but I cant run this on simulator.
但我不能在模拟器上运行它。 I have this error:
我有这个错误:
/Users/admin/StudioProjects/Cvetovik_app/ios/Runner/GeneratedPluginRegistrant.m:12:9: Module 'audio_session' not found
But I don't use this plugin audio_session.但我不使用这个插件audio_session。 This is my architectures properties:
这是我的架构属性:
how do I fix this?我该如何解决? I need to test the application on a simulator
我需要在模拟器上测试应用程序
First Open runner.xcworkspace not .xcodeproj首先打开 runner.xcworkspace 而不是 .xcodeproj
Hope its work for you希望它对你有用
Try to reinstall Pod尝试重新安装 Pod
Delete Pods folders and run删除 Pods 文件夹并运行
flutter clean
flutter pub get
in ios folder /在ios文件夹/
pod init
pod deintegrate
pod install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.