Skip to content

Does not compile for iOS #69

@Alisofin

Description

@Alisofin

Hello,
The app does not compile: here's the trace:
Xcode's output:

leveldb-library-byfjndjolxototdyoiotufacpcvp
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:189:25: error: 'init()' is unavailable
let shareDialog=ShareDialog()
^~~~~~~~~~~
FBSDKShareKit.ShareDialog:4:12: note: 'init()' has been explicitly marked unavailable here
public init()
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:194:20: error: incorrect argument label in call (have 'fromViewController:content:delegate:', expected 'viewController:content:delegate:')
ShareDialog(fromViewController: viewController, content: shareContent, delegate: self).show()
^~~~~~~~~~~~~~~~~~~
viewController
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:189:25: error: 'init()' is unavailable
let shareDialog=ShareDialog()
^~~~~~~~~~~
FBSDKShareKit.ShareDialog:4:12: note: 'init()' has been explicitly marked unavailable here
public init()
^
/Applications/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_share_me-1.2.0/ios/Classes/SwiftFlutterShareMePlugin.swift:194:20: error: incorrect argument label in call (have 'fromViewController:content:delegate:', expected 'viewController:content:delegate:')
ShareDialog(fromViewController: viewController, content: shareContent, delegate: self).show()
^~~~~~~~~~~~~~~~~~~
viewController

Thanks for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions