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

Swift Compiler Error (Xcode): 'INOutgoingMessageType' is only available in iOS 14.0 or newer #78

Open
ujwalbasnet1 opened this issue Dec 15, 2023 · 5 comments

Comments

@ujwalbasnet1
Copy link

Could not build the precompiled application for the device.
Swift Compiler Error (Xcode): 'init(recipients:outgoingMessageType:content:speakableGroupName:conversationIdentifier:serviceName:sender:attachments:)' is only available in iOS 14.0 or newer
/Users/ujwalbasnet1/.pub-cache/hosted/pub.dev/share_handler_ios-0.0.13/ios/Classes/SwiftShareHandlerIosPlatform.swift:240:40

Swift Compiler Error (Xcode): 'INOutgoingMessageType' is only available in iOS 14.0 or newer
/Users/ujwalbasnet1/.pub-cache/hosted/pub.dev/share_handler_ios-0.0.13/ios/Classes/SwiftShareHandlerIosPlatform.swift:240:98

when tried running with

share_handler: ^0.0.20

@sunjiaming
Copy link

I had the same problem,Did you solve it

@gustavomaedo
Copy link

For me it works this way:

dependencies:
  ...
  share_handler: 0.0.19

dependency_overrides:
  share_handler_ios: 0.0.12

@matteodg
Copy link

matteodg commented Jan 7, 2024

I changed the platform in the ios/Podfile to be 14.0:

platform :ios, '14.0'

@Mounix99
Copy link
Contributor

I changed the platform in the ios/Podfile to be 14.0:

platform :ios, '14.0'

Works for me also, missed that place for target version

@MagTuxGit
Copy link
Contributor

This one may be closed. My fix was merged.

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

6 participants