#Error logs showing and hiding share sheet

1 messages · Page 1 of 1 (latest)

calm sentinel
#

I've implemented the share sheet to share a file (photo) like this:

shareSheet.AddAttachment(((Texture2D)rawImage.texture).EncodeToJPG(), "image/jpeg", $"PHOTO-{_imageSavedAt:yyyy-MM-dd-HH-mm-ss}.jpg");
shareSheet.SetCompletionCallback((result, error) =>
{
  if (error != null)
  Debug.LogError($"Photo sharing error: {error}");
});
shareSheet.Show();```

This works on iOS 18.3.1 on iPhone, but I'm seeing lots of logs in xcode, and there's a very noticable lag when this is used for the first time.
Is there some sort of initialization I can do to speed up the first share, and can you check the logs to see if there's something wrong with the plugin because of the warnings and errors?
#

Opening the share sheet:


Only support loading options for CKShare and SWY types.

error fetching item for URL:file:///private/var/mobile/Containers/Data/Application/8300EDCA-46E1-4182-8CA0-E4F7472A9468/tmp/PHOTO-2025-03-05-10-32-26.jpg : (null)

error fetching file provider domain for URL:file:///private/var/mobile/Containers/Data/Application/8300EDCA-46E1-4182-8CA0-E4F7472A9468/tmp/PHOTO-2025-03-05-10-32-26.jpg : (null)

error fetching item for URL:file:///private/var/mobile/Containers/Data/Application/8300EDCA-46E1-4182-8CA0-E4F7472A9468/tmp/PHOTO-2025-03-05-10-32-26.jpg : (null)

59638328 Plugin query method called

Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}

elapsedCPUTimeForFrontBoard couldn't generate a task port

Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}

<0x10356a300> Gesture: System gesture gate timed out.

elapsedCPUTimeForFrontBoard couldn't generate a task port

Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}

elapsedCPUTimeForFrontBoard couldn't generate a task port

[NativePlugins] Showing share sheet.```
#

Canceling the share:


Received port for identifier response: <(null)> with error:Error Domain=RBSServiceErrorDomain Code=1 "Client not entitled" UserInfo={RBSEntitlement=com.apple.runningboard.process-state, NSLocalizedFailureReason=Client not entitled, RBSPermanent=false}

elapsedCPUTimeForFrontBoard couldn't generate a task port

connection invalidated

[UISceneHostingWorkspace-com.joensa.mygame:UIHostedScene-D9609DC6-BDBA-40D3-8F1C-B41BFF42BF9C] No scene exists for this identity (didUpdateClientSettingsWithDiff)```
outer relic
#

Looks like I need to test on 18.3.1 once for compatibility.

#

Also, how big is the image?

calm sentinel