Search results for

NSCocoaErrorDomain

1,063 results found

Post

Replies

Boosts

Views

Activity

Reply to SiriKit - Failed to attach to process?
Update: I'm getting this in console.log Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Info>: preparing plug-in <private>(<private>) Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Notice>: connection to plug-in <private>(0DDA43D4-A588-4478-8405-C219EAA7F591) lost Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Error>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.appID.SiriKitExtension UserInfo={NSDebugDescription=connection to service named com.appID.SiriKitExtension} Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Info>: beginUsing of 0DDA43D4-A588-4478-8405-C219EAA7F591 concludes with error=Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.appID.SiriKitExtension UserInfo={NSDebugDescription=connection to service named com.appID.SiriKitExtension} Aug 15 11:43:43 iPhone assistantd(Foundation)[12442] <Notice>: PlugInKit error in beginUsing: Aug 15 11:
Topic: App & System Services SubTopic: General Tags:
Aug ’16
Reply to Issues getting SwiftData to work with DocumentGroup
DocumentGroup is still broken for me even on the RC beta build. I see the following error: Failed to initialize CloudKit metadata: Error Domain=NSCocoaErrorDomain Code=134407 Request 'FB45661A-3619-4593-A7D1-2E164C9C2667' was cancelled because the store was removed from the coordinator. This doesn't appear on WindowGroup.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’23
Reply to Unable to see the list of Applications in FamilyPicker for the parent device
Same behaviour. Following are my logs Connection error from Optional(com.apple.ManagedSettingsAgent): Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.ManagedSettingsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.ManagedSettingsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction.} Attempts remaining: 1 Failed to fetch effective value for com.apple.ManagedSettings.effective-media-settings.changed: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.ManagedSettingsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.ManagedSettingsAgent was invalidated: failed at lookup with error 159 - Sandbox restriction.} It is applying some Sandbox restrictions! Xcode 13 beta 4, iOS 15 beta 4
Topic: App & System Services SubTopic: General Tags:
Aug ’21
Reply to XPC between Container App and System Extension
I've tried what you suggested. That seems to have changed behaviour but I still get an error when connecting from the client. Specifically, when I called remoteObjectProxyWithErrorHandler previously I got this error: Error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.example.endpoint-test.Service was invalidated: failed at lookup with error 3 - No such process. UserInfo={NSDebugDescription=The connection to service named com.example.endpoint-test.Service was invalidated: failed at lookup with error 3 - No such process.} Now, after adding the NSEndpointSecurityMachServiceName property, I get the following vague error: Error: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.example.endpoint-test.Service UserInfo={NSDebugDescription=connection to service named com.example.endpoint-test.Service} N.B. that in order to even get this far I had to add com.apple.security.temporary-exception.mach-lookup.global-name to my container app entitlem
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’22
Reply to iOS 18.4 and getFileProviderServicesForItem
Tested on iOS 18.5, Beta 1 (22EF5042g), same issue is still present. getFileProviderServicesForItem fails when called from the consuming app with: Error Domain=NSCocoaErrorDomain Code=513 The file couldn’t be saved because you don’t have permission. The supportedServiceSources method in the service hosted by the provider app is never invoked when this occurs.
Topic: App & System Services SubTopic: Core OS Tags:
Apr ’25
Reply to HomeKit addAndSetupAccessories always fails in simulator?
Ahh hmm I spoke to soon.. I also get an error using HMAccessoryBrowser and then calling addAccessory on the home, so it seems the issue isn't with discovering accessories but adding them to the home. not sure if these error message are any use, but... [Activity] [-[HMHome _addAccessory:accessoryDescription:password:setupCodeDeferred:progress:completionHandler:], /Library/Caches/com.apple.xbs/Sources/HomeKit_Sim/HomeKit-705.2.0.0.2/Sources/HomeKit/HMHome.m:6645 (B2912D6E-601D-4835-B7BA-4DCFC161FB10)] Thread left active (1): <NSThread: 0x60000128c440>{number = 9, name = main} sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 0 named com.apple.rtcreportingd UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.rtcreportingd} sendMessageWithDictionary: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 0 named com.apple.rtcreporting
Topic: App & System Services SubTopic: General Tags:
Aug ’20
Reply to iOS Development: Create file failed(return domain:NSCocoaErrorDomain,code:512)
I'm also experiencing a similar issue. One user (out of thousands) is getting a 512 error – NSFileWriteUnknownError when the iOS app attempts to write a file to the caches directory or the documents directory.The user is on iOS 13.3, and logging the error shows Error Domain=NSCocoaErrorDomain Code=512 The file couldn’t be saved. UserInfo={NSUserStringVariant=Folder}
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’20
Reply to CallKit Speakerbox Demo Code Removed?
I haven't been able to get the demo code to work. RequestTransaction gives the following error:2016-08-26 13:53:58.051672 Speakerbox[34264:1898734] [Default] Received error from transaction request: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.callkit.callcontrollerhost UserInfo={NSDebugDescription=connection to service named com.apple.callkit.callcontrollerhost}
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’16
Reply to PHPicker fails to load RAW images
I'm also seeing a similar behavior when trying to load the file representation using public.item UTI for Live Photos that were just taken or were selected and probably downloaded from icloud. If I try again the same images on a second or third time they seem to be loading just fine. If I use public.image it works just fine, note that it is on iOS 17 public beta. Exception: Error Domain=NSItemProviderErrorDomain Code=-1000 Cannot load representation of type public.item UserInfo={NSLocalizedDescription=Cannot load representation of type public.item, NSUnderlyingError=0x281b031e0 {Error Domain=NSCocoaErrorDomain Code=4097 Couldn’t communicate with a helper application. UserInfo={NSUnderlyingError=0x281a32bb0 {Error Domain=NSCocoaErrorDomain Code=4097 connection from pid 1217 on anonymousListener or serviceListener UserInfo={NSDebugDescription=connection from pid 1217 on anonymousListener or serviceListener}}}}}
Sep ’23
Reply to What is required to register for CoreWLAN events?
Sorry I was printing the localizedDescription of the error which isn't helpful at all. 😟So, this is what I Catch:(lldb) po errorError Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.airportd was invalidated. UserInfo={NSDebugDescription=The connection to service named com.apple.airportd was invalidated.}(lldb) po error.localizedDescriptionCouldn’t communicate with a helper application.
Apr ’18
Reply to Error Domain=NSCocoaErrorDomain Code=4099
Same issue Xcode 13.3.1, IOS 15.3 [8086:326074] [Client] Updating selectors failed with: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process. UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 3 - No such process.}
May ’22
Reply to menu bar popover doesn't display when in fullscreen
Thanks pointing me in the right direction. The example you have provided does not work for me, however. In my attempts, entering any question, or even just yes or no in the Demo box results in:>>> noFailed to query oracle: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named XYZABC1234.com.example.iDecideHelper was invalidated. UserInfo={NSDebugDescription=The connection to service named XYZABC1234.com.example.iDecideHelper was invalidated.}
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’17
Reply to Error code question
The supplementary log information for the above question is as follows: 2020-08-17 11:28:19.470871+0800 XXXX[4255:1139139] CoreData: XPC: Unable to connect to server with options { ttNSXPCStoreServerEndpointFactory = <PLXPCPhotoLibraryStoreEndpointFactory: 0x280ce8760>; ttskipModelCheck = 1; } 2020-08-17 11:28:19.479533+0800 XXXX[4255:1139139] CoreData: XPC: Unable to load metadata: Error Domain=NSCocoaErrorDomain Code=134060 关键数据出错。 UserInfo={Problem=Unable to send to server; failed after 8 attempts.} 2020-08-17 11:28:19.483149+0800 XXXXX[4255:1139139] [error] error: addPersistentStoreWithType:configuration:URL:options:error: returned error NSCocoaErrorDomain (134060) CoreData: error: addPersistentStoreWithType:configuration:URL:options:error: returned error NSCocoaErrorDomain (134060) CoreData: annotation: userInfo: CoreData: annotation: Problem : Unable to send to server; failed after 8 attempts. CoreData: annotation: storeType: NSXPCStore CoreData: annotation: configuratio
Aug ’20
Reply to MLMediaLibrary, cannot connect / path not allowed in target domain
HI Denise,I am still stuck with the issue -MLMediaLibrary error obtaining remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.MediaLibraryService UserInfo={NSDebugDescription=connection to service named com.apple.MediaLibraryService}The same code works if I create a test App, but does not work from within my Application. Do you have any clues if I could be missing out something obvious.Thanks,Priya
Feb ’18