GPlayer icon indicating copy to clipboard operation
GPlayer copied to clipboard

unknown receiver 'GPlayerPlugin'

Open abozanona opened this issue 5 years ago • 2 comments

When I try to run on IOS I get this error

Xcode build done.                                           12.3s
Failed to build iOS app
Error output from Xcode build:
↳
    2019-11-17 14:17:55.694 xcodebuild[6536:8733356]  DVTAssertions: Warning in
    /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-14490.122/IDEFoundation/Provisioning/IDEProfileQualification.m:509
    Details:  Xcode could not determine type of profile "/Users/abozanona/Library/MobileDevice/Provisioning Profiles/ce304866-1719-43d0-871b-a8b45caeb42c.mobileprovision" (could be {(
    )})
    Object:   <IDEProfileQualification: 0x7fc5a0208580>
    Method:   -_profileTypeQualifier
    Thread:   <NSThread: 0x7fc598d1e500>{number = 2, name = (null)}
    Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
    2019-11-17 14:17:55.701 xcodebuild[6536:8733356]  DVTAssertions: Warning in
    /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-14490.122/IDEFoundation/Provisioning/IDEProfileQualification.m:509
    Details:  Xcode could not determine type of profile "/Users/abozanona/Library/MobileDevice/Provisioning Profiles/ce304866-1719-43d0-871b-a8b45caeb42c.mobileprovision" (could be {(
    )})
    Object:   <IDEProfileQualification: 0x7fc59eef0690>
    Method:   -_profileTypeQualifier
    Thread:   <NSThread: 0x7fc598d1e500>{number = 2, name = (null)}
    Please file a bug at https://bugreport.apple.com with this warning message and any useful information you can provide.
    ** BUILD FAILED **


Xcode's output:
↳
    /Users/abozanona/Desktop/land4moviesflutterapplication/ios/Runner/GeneratedPluginRegistrant.m:34:4: error: unknown receiver 'GPlayerPlugin'; did you mean 'GplayerPlugin'?
      [GPlayerPlugin registerWithRegistrar:[registry registrarForPlugin:@"GPlayerPlugin"]];
       ^~~~~~~~~~~~~
       GplayerPlugin
    In file included from /Users/abozanona/Desktop/land4moviesflutterapplication/ios/Runner/GeneratedPluginRegistrant.m:8:
    /Users/abozanona/Desktop/land4moviesflutterapplication/ios/Pods/Headers/Public/gplayer/GPlayerPlugin.h:3:12: note: 'GplayerPlugin' declared here
    @interface GplayerPlugin : NSObject<FlutterPlugin>
               ^
    1 error generated.
    note: Using new build systemnote: Planning buildnote: Constructing build description

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

abozanona avatar Nov 17 '19 12:11 abozanona

the description of the plugin says no iOS :( i wish it did work, the VLC alternative does work on iOS but has a drawback of not allowing multiple video players on screen at once. I hope this will have the ability to do so

moeiscool avatar Nov 20 '19 15:11 moeiscool

@moeiscool @tcking Thanks for pointing that out. What if I want to use GPlayer on android and VLC player on ios. In this case I need to install both dependencies, use GPlayer on android & use VLC on IOS.

But in this case, even though I'm not calling GPlayer from IOS, it's raising an exception.

It'd be great if adding GPlayer as dependency on IOS won't raise any error.

abozanona avatar Nov 22 '19 16:11 abozanona