2find / stereo

A Flutter plugin for playing music on iOS and Android.
https://pub.dartlang.org/packages/stereo
MIT License
68 stars 18 forks source link

iOS build fail #42

Closed LeeHunter closed 5 years ago

LeeHunter commented 5 years ago

I'm getting the following error message when I try to run the Stereo example on iOS

Failed to build iOS app Error output from Xcode build: ↳ BUILD FAILED

Xcode's output: ↳ === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug === /Users/leehunter/Documents/GitHub/stereo/example/ios/Runner/GeneratedPluginRegistrant.m:13:4: error: unknown receiver 'STStereoPlugin'; did you mean 'StereoPlugin'? [STStereoPlugin registerWithRegistrar:[registry registrarForPlugin:@"STStereoPlugin"]]; ^~~~~~ StereoPlugin In file included from /Users/leehunter/Documents/GitHub/stereo/example/ios/Runner/GeneratedPluginRegistrant.m:7: /Users/leehunter/Documents/GitHub/stereo/example/ios/Pods/Headers/Public/stereo/StereoPlugin.h: 5:12: note: 'StereoPlugin' declared here @interface StereoPlugin : NSObject ^ 1 error generated.

Could not build the application for the simulator. Error launching application on iPhone XR.

LeeHunter commented 5 years ago

I just saw this comment in another issue which seems to address this problem

https://github.com/2find/stereo/issues/41#issuecomment-451001271