Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building With Flutter 3 and compiling #92

Open
armandojimenez opened this issue May 19, 2022 · 4 comments
Open

Error when building With Flutter 3 and compiling #92

armandojimenez opened this issue May 19, 2022 · 4 comments

Comments

@armandojimenez
Copy link

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.
@jodymac
Copy link

jodymac commented May 21, 2022

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.

@wl1395182472
Copy link

flutter-sdk:3.0.1

flutter_share_me:
git:
url: https://github.com/jordanjanaq/flutter_share_me

flutter_facebook_auth: ^4.1.1

image
image

@wl1395182472
Copy link

flutter-sdk:3.0.1

flutter_share_me: git: url: https://github.com/jordanjanaq/flutter_share_me

flutter_facebook_auth: ^4.1.1

image image

or flutter_facebook_auth: ^4.2.0

@nimi0112
Copy link

nimi0112 commented Dec 6, 2022

same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants