- Home /
Native Gallery "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)""
The error in the title occurs every time, when I test my unity mobile application on Xcode. if there's anyone who is familiar with this error, would you give me some advice??
Unity version: 2019.2.9f
Xcode version: 11.5
Used Asset: Native Gallery
My device for test: iPhone SE
Websites I referred:[iOS: selecting image appears but path not complete (no file extension) #93][1]
[UnityNativeGallery][2]
[Native Gallery for Android & iOS (Open Source)][3]
Code of Native Gallery on C#
private void PickImage(int maxSize)
{
NativeGallery.Permission permission = NativeGallery.GetImageFromGallery((path) =>
{
Debug.Log("Image path: " + path);
if (path != null)
{
// Create Texture from selected image
Texture2D texture = NativeGallery.LoadImageAtPath(path, maxSize);
if (texture == null)
{
Debug.Log("Couldn't load texture from " + path);
return;
}
testImg.texture = texture;
imgPath = path;
}
}, "Select a PNG image", "image/png");
Debug.Log("Permission result: " + permission);
}
Entire log when Native gallery method is carried out.
020-06-19 13:18:53.909512+0900 Name of app[3461:1994737] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)""
2020-06-19 13:18:53.933617+0900 Name of app[3461:1994570] Copied source image from UIImagePickerControllerImageURL Image path: /var/mobile/Containers/Data/Application/3C80F83D-64EE-4A05-A009-29F9F6585DAA/Library/Caches/pickedImg.png
<>c_DisplayClass7_0:b_0(String)
MediaPickCallback:Invoke(String)
NativeGalleryNamespace.NGMediaReceiveCallbackiOS:OnMediaReceived(String)
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
![alt text][4]
In order to check whether native gallery properly works or not, I use this simple layout for my device test. [1]: https://github.com/yasirkula/UnityNativeGallery/issues/93 [2]: https://github.com/yasirkula/UnityNativeGallery [3]: https://forum.unity.com/threads/native-gallery-for-android-ios-open-source.519619/page-13 [4]: /storage/temp/162313-screenshot-2020-06-19-at-140357.png