Flutter SDK does not work on Simulator

I am using Flutter DeerAR. But when I build for iOS Simulator, the error: Swift Compiler Error (Xcode): No such module ‘DeepAR’
…/hosted/pub.dartlang.org/deepar_flutter-0.0.3/ios/Classes/DeepArCamera.swift:6:7

Note:

  • It works fine with Real Device.
  • I am using Macbook M1 chip.

Thank you.