KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
321 stars 369 forks source link

still get No such module 'receive_sharing_intent' after handling build phase section #304

Open Orlyga01 opened 1 month ago

Orlyga01 commented 1 month ago

In Xcode, after moving Embed Foundation Extension above Thin Binary in the build phase of Runner Target, I still get: No such module 'receive_sharing_intent' I'm using the latest 1.8 receive_sharing_intent The failure happens in the ShareViewController.swift where I the line import receive_shareing_intent

Orlyga01 commented 1 month ago

Can anyone share their thoughts about why it happens?

OutdatedGuy commented 3 weeks ago

Hi @Orlyga01,

I can think of two possible issues based on your comment:

The failure happens in the ShareViewController.swift where I the line import receive_shareing_intent

  1. The import statement might be incorrect. Instead of import receive_shareing_intent, it should be import receive_sharing_intent. Please note the extra e in your current import statement.

  2. You might not have updated your pods, so receive_sharing_intent is not available for import. Try running pod install; pod update; inside the ios directory.

If these steps do not resolve the issue, please provide the full error log for further assistance.