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

shareViewController.swift in debug mode getting error #260

Open
onurcankurum opened this issue Jun 19, 2023 · 0 comments
Open

shareViewController.swift in debug mode getting error #260

onurcankurum opened this issue Jun 19, 2023 · 0 comments

Comments

@onurcankurum
Copy link

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.

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

1 participant