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
334 stars 395 forks source link

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

Open Orlyga01 opened 5 months ago

Orlyga01 commented 5 months 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 5 months ago

Can anyone share their thoughts about why it happens?

OutdatedGuy commented 5 months 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.

socsob commented 3 months ago

I had this issue an doing an additional pod install was what I needed

hello112334 commented 3 weeks ago

same issue. run pod install in ios folder and reboot(maybe don't need). then open with Runner.xcworkspace (not Runner.xcodeproj)