SKKbySSK / coast_audio

Real-Time audio processing library written in Dart.
MIT License
97 stars 12 forks source link

Is the `flutter_coast_audio_miniaudio` support ios simulator? #8

Closed littleGnAl closed 1 year ago

littleGnAl commented 1 year ago

Is the flutter_coast_audio_miniaudio support ios simulator? I got this error when building with ios simulator

User-Defined Issue (Xcode): Unsupported Swift architecture
/my/path/coast_audio/examples/audio_recorder/build/ios/Debug-iphonesimulator/flutter_coast_audio_miniaudio/flutter_coast_audio_miniaudio.framework/Headers/flutter_coast_audio_mini
audio-Swift.h:274:1

Parse Issue (Xcode): Could not build module 'flutter_coast_audio_miniaudio'
/my/path/coast_audio/examples/audio_recorder/ios/Runner/GeneratedPluginRegistrant.m:29:8

Could not build the application for the simulator.
Error launching application on iPhone 14 Pro.
SKKbySSK commented 1 year ago

Yes, it support simulators on Apple Silicon (Intel mac is not supported).

I've ever seen your error message on my local environment. Could you attach your app code?

littleGnAl commented 1 year ago

Thanks for your reply, I try to run the example on the x86_64 simulator, but after digging into the code, I confirm that it's not support x86_64 macos and simulator.

image