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: _EXSinkLoadOperator loadItemForTypeIdentifier:completionHandler:expectedValueClass #95

Open
js-chris opened this issue Sep 3, 2024 · 3 comments

Comments

@js-chris
Copy link

js-chris commented Sep 3, 2024

Describe the bug
After installing everything as described, I am able to share to my app and I also receive data. So, everything seems to be fine. But, after sharing, I see this error in the xcode console:

-[_EXSinkLoadOperator loadItemForTypeIdentifier:completionHandler:expectedValueClass:options:] nil expectedValueClass allowing {( CKShare, NSValue, NSMutableArray, NSError, NSMutableString, NSNumber, NSData, NSURL, NSDictionary, NSString, UIImage, NSArray, NSMutableDictionary, _EXItemProviderSandboxedResource, NSUUID, NSDate, NSMutableData )}

Do you have any Idea, why? Also, I don't see any console.logs anymore in xcode from my PWA after getting this error.

To Reproduce
Share an document or Url to your app.

Expected behavior
The error above is not thrown

Desktop (please complete the following information):

  • Xcode: 15.4
  • capacitor 6.1.2

Smartphone (please complete the following information):

  • Simulator iOs 15.2
@carsten-klaffke
Copy link
Owner

I tried to reproduce it with the SendIntentExample project, but I don't see the error. Can you try it with the example and confirm that?

@carsten-klaffke
Copy link
Owner

Okay, I just updated the dependencies in the example project (locally) and now I get the error, too. I will try to fix this.

@ellis246
Copy link

Seems like this is an error with the loadItem API rather than @carsten-klaffke code. Thread about it here too: https://www.reddit.com/r/swift/comments/1951e5v/error_message_when_loading_shared_extension/?rdt=47583

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

3 participants