Search results for

NSCocoaErrorDomain Error Code 4

170,023 results found

Post

Replies

Boosts

Views

Activity

Reply to Contacts Framework Frequently Hangs on iOS 11
Probably I see the same issue on an iPhone 8 Plus with iOS 11.2. The error: service connection to com.apple.contactsd was interrupted. Error communicating with XPC Service: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.contactsd UserInfo={NSDebugDescription=connection to service named com.apple.contactsd}
Topic: UI Frameworks SubTopic: AppKit Tags:
Dec ’17
Reply to Unable to Write to UserDefaults from Widget Extension Despite Correct App Group Configuration
I switched to writing to a file instead and I get the same error: Error Domain=NSCocoaErrorDomain Code=513 You don’t have permission to save the file “testFromWidget.txt” in the folder “B6DF24C2-XXXX-XXXXX-XXX-XXXXXXX. UserInfo={NSFilePath=.../testFromWidget.txt, NSURL=.../testFromWidget.txt, NSUnderlyingError=0x1078790e0 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}
Aug ’25
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
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’22
Reply to strange error updating Xcode
Similair error here:Failed to download index with errors: ( Error Domain=NSCocoaErrorDomain Code=3840 The data couldnU2019t be read because it isnU2019t in the correct format. (Encountered unknown tag html on line 2) UserInfo=0x7fd923c88980 {NSDebugDescription=Encountered unknown tag html on line 2, kCFPropertyListOldStyleParsingError=The data couldnU2019t be read because it isnU2019t in the correct format.}, Error Domain=NSCocoaErrorDomain Code=3840 The data couldnU2019t be read because it isnU2019t in the correct format. (Encountered unknown tag html on line 2) UserInfo=0x7fd923285250 {NSDebugDescription=Encountered unknown tag html on line 2, kCFPropertyListOldStyleParsingError=The data couldnU2019t be read because it isnU2019t in the correct format.})I think I'm going to reinstall xcode
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’15
DCAppAttestService errors: com.apple.devicecheck.error 3 and 4
Hello, we are using DeviceCheck – App Attest in a production iOS app. The integration has been live for some time and works correctly for most users, but a small subset of users encounter non-deterministic failures that we are unable to reproduce internally. Environment iOS 14+ Real devices only (no simulator) App Attest capability enabled Correct App ID, Team ID and App Attest entitlement Production environment Relevant code let service = DCAppAttestService.shared service.generateKey { keyId, error in // key generation } service.attestKey(keyId, clientDataHash: hash) { attestation, error in // ERROR: com.apple.devicecheck.error 3 / 4 } service.generateAssertion(keyId, clientDataHash: clientDataHash) { assertion, error in // ERROR: com.apple.devicecheck.error 3 / 4 } For some users we intermittently receive: com.apple.devicecheck.error error 3 com.apple.devicecheck.error error 4 Characteristics: appears random a
1
0
114
1w
Reply to Xcode notarization and hardened runtime issue
Just use bundlePath and append Contents/Helpers/myProblemExecI'm getting this: Error Domain=NSCocoaErrorDomain Code=4 The file “xmrig” doesn’t exist. I dont think xcode is acutally adding the Helpers folder in the contents folder. Should the folder's location be relative to group? The file definitely exists in my project files, just not in the actual application contents folder?Thanks for clarifying on the code signing stuff.No, it should not be using zsh. Funny enough, i don't actually need to extract data from it, I have another way of making sure it gets its job done. Thanks so much.
Topic: Code Signing SubTopic: General Tags:
Feb ’20
Reply to sometimes file stat fails for media files / iOS 14.2 and up
continued: this is the error we get fairly often (same file works other times). this is a file from the photos folder. Error Domain=NSCocoaErrorDomain Code=260 The file “IMG_2685.mp4” couldn’t be opened because there is no such file. UserInfo={NSFilePath=/var/mobile/Media/DCIM/102APPLE/IMG_2685.mp4, NSUnderlyingError=0x281af1cb0 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}}
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’21
Reply to Keychain retrieval failure
They are getting the below exception:*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Keychain retrieve Error - Error Domain=NSCocoaErrorDomain Code=3840 Cannot parse a NULL or zero-length data UserInfo={NSDebugDescription=Cannot parse a NULL or zero-length data}'
Topic: Privacy & Security SubTopic: General Tags:
Mar ’18
Reply to Photos app crashes on launch in Catalina
I get the same error message on my macbook for my libraryError Domain=PHPhotosErrorDomain Code=4302 PHPhotosErrorInvalidState UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x600001b2d4a0 {Error Domain=com.apple.photos.error Code=43002 (null) UserInfo={currentState=error, NSUnderlyingError=0x600001b2d530 {Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 537 named com.apple.Photos.Migration UserInfo={NSDebugDescription=connection to service on pid 537 named com.apple.Photos.Migration}}}}}And I'm completely unable to open my photo library at the moment
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’19
SCNLight (IOAF code 3/4) Crash
My iOS 12.1 app uses dynamic lighting where the user can create/delete a limited number of SCNLights. The UITableView is managed by a NSFetchedResultsController. The app's code worked without error until I updated the operating system. Then, it began randomly crashing with Execution of the command buffer was aborted due to an error during execution. Caused GPU Hang Error (IOAF code 3 / 4)) errors. The errors occur when deleting SCNLights from the UITableView.The CPU is running at 1% and the maximum value is 23%. FPS is 60. Maximum memory useage is 120 MB.I've enabled Malloc Scribble and Guard Malloc. The IOAF code 3 / 4 errors are the only ones received. I don't understand what's wrong or how to debug the problem.
0
0
1.1k
Nov ’18
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 TTSPlugins doesn't exist in Xcode Version 15.0 beta 4 (15A5195m)
My message was clipped, here is initial error: Speech Error: Error Domain=NSCocoaErrorDomain Code=260 The folder “TTSPlugins” doesn’t exist. UserInfo={NSUserStringVariant=( Folder ), NSFilePath=/Library/Developer/CoreSimulator/Volumes/iOS_21A5277g/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 17.0.simruntime/Contents/Resources/RuntimeRoot/System/Library/TTSPlugins, NSUnderlyingError=0x600000c72fa0 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}}
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’23