Search results for

NSCocoaErrorDomain Error Code 4

170,006 results found

Post

Replies

Boosts

Views

Activity

Error Domain=NSCocoaErrorDomain Code=4099
My app says it has built successfully but shows the error No bundle URL Present with the following in the log: [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process. UserInfo={NSDebugDescription=The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.} Using Xcode 13, and React Native 65.1 on and iOS 15 Iphone 12. Can anyone help? Error log in full: 2021-10-02 15:22:54.660199+0100 myracnative[556:74795] [Client] Updating selectors after delegate addition failed with: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service with pid 90 named com.apple.commcenter.coretelephony.xpc was invalidated from this process. UserInfo={NSDebugDescription=The connection to service with pid 90 named com.apple.commce
8
0
12k
Oct ’21
Error Domain=NSCocoaErrorDomain Code=4099
OS Version: macOS Sonoma 14.2 Xcode Version: 15.0 Im getting this log errors while launching my app: 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.} Synchronous remote object proxy returned error: 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.} Updating selectors failed with: Error
2
0
5.9k
Dec ’23
Error Domain=NSCocoaErrorDomain Code=513
When I want to save my array (HTML shape) I have this error.Error Domain=NSCocoaErrorDomain Code=513 You don’t have permission to save the file “Untitled.xls” in the folder “Desktop”. UserInfo={NSFilePath=/Users/gerardbuguet/Desktop/Untitled.xls, NSUnderlyingError=0x60400044d8c0 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}I do not understand why.How can I resolve this issue ?Thanks in advance.
4
0
8.2k
Dec ’17
NSCocoaErrorDomain Code=522 Not an Error
When attempting to add a persistent storei.e. persistentStoreCoordinator.addPersistentStore(ofType: NSSQLiteStoreType, configurationName: nil, at: self.storeUrl, options: options)We're seeing some errors show up in our crash reporting tool, but not sure how to reproduce it.Error Domain=NSCocoaErrorDomain Code=522 (null) UserInfo={NSSQLiteErrorDomain=522, NSUnderlyingException=I/O error for database at /private/var/mobile/Containers/Shared/AppGroup/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/myAppDb.sqlite. SQLite error code:522, 'not an error'}: file /Users/path/to/my/swift/class/that/attempted/to/add/the/persistent/store.swift, line 37I've read that this could have something to do with Write Ahead Logging, sure. It seems odd that the swift file / line where I make the .addPersistentStore call shows the full local files system path (of my development macine). It makes me think this is something happening only on beta or development builds, but since I ca
1
0
1.3k
Oct ’16
Error Domain=NSCocoaErrorDomain Code=257
NSArray *tableau = [fm contentsOfDirectoryAtURL:url .... I get in return: Error Domain=NSCocoaErrorDomain Code=257 The file “*************” couldn’t be opened because you don’t have permission to view it. UserInfo={NSURL=file:///Users/gerardMonNom, NSFilePath=/Users/gerardMonNom, NSUnderlyingError=0x6000033788d0 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}} How do we fix this anomaly?
1
0
700
Feb ’21
Error Domain=NSCocoaErrorDomain Code=3840 AND
Hello, I have a problem when I launch the application I have this error displayed in the log of the swift: Error Domain=NSCocoaErrorDomain Code=3840 JSON text did not have any content around line 2, column 0. UserInfo={NSDebugDescription=JSON text did not have any content around line 2, column 0., NSJSONSerializationErrorIndex=1} here is the php : set_charset(utf8mb4); // Check connection if (mysqli_connect_errno()) { echo Failed to connect to MySQL: . mysqli_connect_error(); } // This SQL statement selects ALL from the table 'Locations' $sql = SELECT `id`,`nom`,`prenom`,`tel`,`email`,`mdp`,`adr`,`cp`,`ville` FROM clients; // Check if there are results if ($result = mysqli_query($con, $sql)) { // If so, then create a results array and a temporary one // to hold the data $resultArray = array(); $tempArray = array(); // Loop through each row in the result set while($row = $result->fetch_object()) { // Add each row into our results array $tempArray = $row; array_push($resu
5
0
1.8k
Nov ’22
Error Domain=NSCocoaErrorDomain Code=257
Hello, I have created a documentspicker to select a PDF file and then upload it to storage, but I am getting this error only on my device; it works correctly on the simulator. This is my code: @Binding var alertShow:Bool var detailpet:String = func makeCoordinator() -> Coordinator { return DocumentPicker.Coordinator(parent1: self) } func makeUIViewController(context: UIViewControllerRepresentableContext) -> UIDocumentPickerViewController { let picker = UIDocumentPickerViewController(forOpeningContentTypes: [.pdf]) picker.allowsMultipleSelection = false picker.delegate = context.coordinator return picker } func updateUIViewController(_ uiViewController: UIDocumentPickerViewController, context: UIViewControllerRepresentableContext) { } class Coordinator : NSObject, UIDocumentPickerDelegate { var parent:DocumentPicker init(parent1: DocumentPicker){ parent = parent1 } func documentPicker(_ controller: UIDocumentPickerViewController, didPickDocumentsAt urls:[URL]) { let bucket = Storage.st
1
0
703
Feb ’24
currentDiskUsage failed: Error Domain=NSCocoaErrorDomain Code=4097 "
While Using app it start's freezing and i am getting following logs on console. Please help me to resolve this freeze issue.currentDiskUsage failed: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.nsurlstorage-cache UserInfo={NSDebugDescription=connection to service named com.apple.nsurlstorage-cache}; { NSDebugDescription = connection to service named com.apple.nsurlstorage-cache;}
5
0
4.0k
Aug ’18
Core Data: Error Domain=NSCocoaErrorDomain Code=257
I am trying to access data stored in Core Data in a previous release of an app for a bundle ID with a new app which I'm trying to get to access this data and send to an external API over the internet. The persistent container in the old app is set up like this: private lazy var persistentContainer: NSPersistentContainer = { let url = Bundle(for: ModelManager.self).url(forResource: GIRC, withExtension: momd) let model = NSManagedObjectModel(contentsOf: url!) let retval = NSPersistentContainer(name: GIRC, managedObjectModel: model!) let desc = NSPersistentStoreDescription() desc.url = NSPersistentContainer.defaultDirectoryURL().appendingPathComponent(GIRC.sqlite) desc.type = NSSQLiteStoreType desc.shouldAddStoreAsynchronously = false retval.persistentStoreDescriptions = [desc] retval.loadPersistentStores { (desc, error) in if error == nil { var values = URLResourceValues() values.isExcludedFromBackup = true try? desc.url?.setResourceValues(values) } } return retval }() so in the new app, I use
2
0
1.7k
Jun ’21
Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent"
Hi devs!!! Calling createCredentialRegistrationRequestWithChallenge returns the following error: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent UserInfo={NSDebugDescription=connection to service named com.apple.AuthenticationServicesCore.AuthenticationServicesAgent} What can be the potential reason?
3
0
2.5k
May ’22
NSPersistentCloudKitContainer - Import failed with error: Error Domain=NSCocoaErrorDomain Code=4864
The NSPersistentCloudKitContainer synchronization between core data and iCloud was working fine with phone 15.1. Connected a new iPhone iOS 15.5, it gives error: CoreData: debug: CoreData+CloudKit: -[NSCloudKitMirroringDelegate managedObjectContextSaved:](2504): : Observed context save: - 2022-12-05 13:32:28.377000-0600 r2nr[340:6373] [error] error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate _importFinishedWithResult:importer:](1245): : Import failed with error: Error Domain=NSCocoaErrorDomain Code=4864 *** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61) UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver _initForReadingFromData:error:throwLegacyExceptions:]: incomprehensible archive (0x53, 0x6f, 0x6d, 0x65, 0x20, 0x65, 0x78, 0x61)} CoreData: error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate _importFinishedWithResult:importe
2
0
1.1k
Dec ’22
Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.assessmentagent"
I'm trying to use the Assessment Configuration with the most recent changes introduced. The entitlement that the app is using is: com.apple.developer.edu-assessment-mode If the entitlement is not correct, then the app won't start because the provisioning profile won't match. Once the application tries to start a session I get the following error: [16777:98639] [Core] Encountered error running activation: com.apple.assessment.assessmentMode.enable. Error: NSError: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.assessmentagent UserInfo={NSDebugDescription=connection to service named com.apple.assessmentagent} Desc : Couldn’t communicate with a helper application. Sugg : Try your operation again. If that fails, quit and relaunch the application and try again. Domain : NSCocoaErrorDomain Code : 0x1001 (4097) Extra info: { NSDebugDescription = connection to service named com.apple.assessmentagent; } Error
2
0
6.5k
Jul ’22
Core Data Error - "NSCocoaErrorDomain" - code: 134060
Hi, I am implementing the synchronisation of SwiftData with CloudKit as described in the Apple Documentation titled - Syncing model data across a person’s devices. My app runs fine on iPhone without activating CloudKit under Signing and Capabilities option. But when activated, I get a CoreData error with a code: 134060. My app is in development stage. The following is the code snippet for your reference taken from the main structure adopting the App protocol. init() { do { #if DEBUG let schema = Schema([ Debit.self, Credit.self, ]) let modelConfiguration = ModelConfiguration(schema: schema, isStoredInMemoryOnly: false) // Use an autorelease pool to make sure Swift deallocates the persistent // container before setting up the SwiftData stack. try autoreleasepool { let desc = NSPersistentStoreDescription(url: modelConfiguration.url) let opts = NSPersistentCloudKitContainerOptions(containerIdentifier: iCloud.com.sureshco.MyFirstApp) desc.cloudKitContainerOptions = opts // Load the stor
0
0
545
Nov ’24
Bakground Assets error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.backgroundassets.user"
Message failed: -[BAAgentClientProxy currentDownloadsWithCompletion:]_block_invoke error: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.backgroundassets.user UserInfo={NSDebugDescription=connection to service named com.apple.backgroundassets.user} The above error occurs when debugging Background Assets on iPhone。
1
0
1.1k
Jun ’23
Lightweight migration not working. Error Domain=NSCocoaErrorDomain Code=134100
I am coding a new version of my app and it has a new store version. I add a new version of the model and set the Model version of the new model in the Inspector view of the model.I added an options dictionary to addPersistentStoreWithType (as explained in the documentation of Lightweight migration)...NSDictionary *options = @{NSMigratePersistentStoresAutomaticallyOption: @YES, NSInferMappingModelAutomaticallyOption: @YES};But I am receiving the following error...Error Domain=NSCocoaErrorDomain Code=134100 The managed object model version used to open the persistent store is incompatible with the one that was used to create the persistent store.Please suggest what I should do.
2
0
1.3k
Apr ’18