flutter_share_me
flutter_share_me copied to clipboard
Error when building With Flutter 3 and compiling
Getting this error with Flutter 3, and xCode 13.4 when generating a .IPA
Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code
Swift Compiler Error (Xcode): 'Sharing' is unavailable: cannot find Swift declaration for this protocol
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:320:33
Swift Compiler Error (Xcode): 'Sharing' is unavailable: cannot find Swift declaration for this protocol
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:325:33
Swift Compiler Error (Xcode): 'Sharing' is unavailable: cannot find Swift declaration for this protocol
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:330:42
Swift Compiler Error (Xcode): 'SharingDelegate' is unavailable: cannot find Swift declaration for this protocol
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:4:65
Swift Compiler Error (Xcode): 'ShareLinkContent' is unavailable: cannot find Swift declaration for this class
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:190:27
Swift Compiler Error (Xcode): Value of type 'ShareLinkContent' has no member 'contentURL'
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:191:21
Swift Compiler Error (Xcode): Value of type 'ShareLinkContent' has no member 'quote'
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:192:21
Swift Compiler Error (Xcode): Argument passed to call that takes no arguments
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:194:37
Swift Compiler Error (Xcode): Cannot infer contextual base in reference to member 'automatic'
/Users/armandojimenez/development/flutter/SDK/flutter/.pub-cache/git/flutter_share_me-35368f25fd5ff913ca3c5ad32210b1b1335672d4/ios/Classes/SwiftFlutterShare
MePlugin.swift:195:28
Encountered error while archiving for device.
I'm getting these same errors and can no longer build my project.
I downgraded to flutter 2.10.5
Then, I also had to change my pubspec.yaml from.. flutter_share_me: git: url: https://github.com/jordanjanaq/flutter_share_me
To... flutter_share_me: ^0.11.0
I can build again now.
flutter-sdk:3.0.1
flutter_share_me: git: url: https://github.com/jordanjanaq/flutter_share_me
flutter_facebook_auth: ^4.1.1
flutter-sdk:3.0.1
flutter_share_me: git: url: https://github.com/jordanjanaq/flutter_share_me
flutter_facebook_auth: ^4.1.1
![]()
or flutter_facebook_auth: ^4.2.0
same