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

shareViewController.swift in debug mode getting error #260

Open onurcankurum opened 1 year ago

onurcankurum commented 1 year ago

when I debug my share extension shareviewController getting this error. I have no idea about this error. anybody can help me? I m stuck.

2023-06-19 14:15:48.152699+0300 share[7134:63881] Failed to inherit CoreMedia permissions from 4047: (null) 2023-06-19 14:15:48.241657+0300 share[7134:63881] [Foundation] *** -[NSXPCDecoder validateAllowedClass:forKey:]: NSSecureCoding allowed classes list contains [NSObject class], which bypasses security by allowing any Objective-C class to be implicitly decoded. Consider reducing the scope of allowed classes during decoding by listing only the classes you expect to decode, or a more specific base class than NSObject. This will become an error in the future. Allowed class list: {( "'NSObject' (0x7fff864bb6e8) [/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib]" )} NSXPCInterface: <NSXPCInterface: 0x600002fdc2c0> Protocol: EXExtensionContextHosting SEL: _loadItemForPayload:contextIdentifier:completionHandler: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (2 arguments, 0 proxies), signature 'v@?@@"NSError"') [{NSObject}, {NSError}] SEL: _loadPreviewImageForPayload:contextIdentifier:completionHandler: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (2 arguments, 0 proxies), signature 'v@?@@"NSError"') [{NSObject}, {NSError}] SEL: _completeRequestReturningItems:forExtensionContextWithUUID:completion: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (0 arguments, 0 proxies), signature 'v@?') [] SEL: _cancelRequestWithError:forExtensionContextWithUUID:completion: (3 arguments, 0 proxies) Classes: [{NSError}, NSUUID, {}] Reply block: (arg #4, (0 arguments, 0 proxies), signature 'v@?') [] SEL: _openURL:completion: (2 arguments, 0 proxies) Classes: [NSURL, {}] Reply block: (arg #3, (1 arguments, 0 proxies), signature 'v@?B') [{}]

<NSXPCConnection: 0x600001ecc500> connection from pid 4047 on mach service named com.example.shareExtGit.share.apple-extension-service 2023-06-19 14:15:48.242772+0300 share[7134:63884] [core] SLComposeServiceViewController got NSURL https://www.apple.com/ for public.url error: (null) 2023-06-19 14:15:48.278989+0300 share[7134:63728] [core] SLComposeServiceViewController got attachment coarseType 3 2023-06-19 14:15:48.458955+0300 share[7134:63884] [Foundation] *** -[NSXPCDecoder validateAllowedClass:forKey:]: NSSecureCoding allowed classes list contains [NSObject class], which bypasses security by allowing any Objective-C class to be implicitly decoded. Consider reducing the scope of allowed classes during decoding by listing only the classes you expect to decode, or a more specific base class than NSObject. This will become an error in the future. Allowed class list: {( "'NSObject' (0x7fff864bb6e8) [/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib]" )} NSXPCInterface: <NSXPCInterface: 0x600002fdc2c0> Protocol: EXExtensionContextHosting SEL: _loadItemForPayload:contextIdentifier:completionHandler: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (2 arguments, 0 proxies), signature 'v@?@@"NSError"') [{NSObject}, {NSError}] SEL: _loadPreviewImageForPayload:contextIdentifier:completionHandler: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (2 arguments, 0 proxies), signature 'v@?@@"NSError"') [{NSObject}, {NSError}] SEL: _completeRequestReturningItems:forExtensionContextWithUUID:completion: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (0 arguments, 0 proxies), signature 'v@?') [] SEL: _cancelRequestWithError:forExtensionContextWithUUID:completion: (3 arguments, 0 proxies) Classes: [{NSError}, NSUUID, {}] Reply block: (arg #4, (0 arguments, 0 proxies), signature 'v@?') [] SEL: _openURL:completion: (2 arguments, 0 proxies) Classes: [NSURL, {}] Reply block: (arg #3, (1 arguments, 0 proxies), signature 'v@?B') [{}]

<NSXPCConnection: 0x600001ecc500> connection from pid 4047 on mach service named com.example.shareExtGit.share.apple-extension-service 2023-06-19 14:15:49.295440+0300 share[7134:63884] [Foundation] *** -[NSXPCDecoder validateAllowedClass:forKey:]: NSSecureCoding allowed classes list contains [NSObject class], which bypasses security by allowing any Objective-C class to be implicitly decoded. Consider reducing the scope of allowed classes during decoding by listing only the classes you expect to decode, or a more specific base class than NSObject. This will become an error in the future. Allowed class list: {( "'NSObject' (0x7fff864bb6e8) [/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 15.2.simruntime/Contents/Resources/RuntimeRoot/usr/lib]" )} NSXPCInterface: <NSXPCInterface: 0x600002fdc2c0> Protocol: EXExtensionContextHosting SEL: _loadItemForPayload:contextIdentifier:completionHandler: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (2 arguments, 0 proxies), signature 'v@?@@"NSError"') [{NSObject}, {NSError}] SEL: _loadPreviewImageForPayload:contextIdentifier:completionHandler: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (2 arguments, 0 proxies), signature 'v@?@@"NSError"') [{NSObject}, {NSError}] SEL: _completeRequestReturningItems:forExtensionContextWithUUID:completion: (3 arguments, 0 proxies) Classes: [{NSURL, UIImage, NSString, NSNull, NSDictionary, NSItemProvider, _EXItemProviderExtensionVendorLoadOperator, NSData, NSNumber, NSUUID, _EXItemProviderSandboxedResource, NSDate, NSExtensionItem, NSValue, _EXItemProviderCopyingLoadOperator, NSError, CKShare, NSArray}, NSUUID, {}] Reply block: (arg #4, (0 arguments, 0 proxies), signature 'v@?') [] SEL: _cancelRequestWithError:forExtensionContextWithUUID:completion: (3 arguments, 0 proxies) Classes: [{NSError}, NSUUID, {}] Reply block: (arg #4, (0 arguments, 0 proxies), signature 'v@?') [] SEL: _openURL:completion: (2 arguments, 0 proxies) Classes: [NSURL, {}] Reply block: (arg #3, (1 arguments, 0 proxies), signature 'v@?B') [{}]

<NSXPCConnection: 0x600001ecc500> connection from pid 4047 on mach service named com.example.shareExtGit.share.apple-extension-service 2023-06-19 14:15:50.299149+0300 share[7134:63728] [Assert] A _UISceneDisplayLink target was deallocated while registered.