Search results for

NSCocoaErrorDomain

1,063 results found

Post

Replies

Boosts

Views

Activity

Reply to Review rejected because of on demand resources (ODR)
I forget the specific error code but it was part of the NSCocoaErrorDomain, however I have fixed this issue. I was testing on an iPhone 6S and I rebooted it and after that it worked fine. I didn't think I would encounter issues with iOS 9.0.1, but that was the problem, it was iOS on the iPhone 6S that was not working right. I remember that when we were trying to get a CloudKit app on the store it failed review 15+ times because it worked during development and in TestFlight, but it never worked during review. Apple always said that it didn't work, but it worked just fine for us. App Review is unexplainable sometimes.
Sep ’15
Reply to getEnabledStatusForExtensionWithIdentifier
Hi, can you please describe (code example) how you did it?With my code:let cdm = CXCallDirectoryManager.init(); cdm.getEnabledStatusForExtension(withIdentifier: com.urnoftheapp.Sperrliste, completionHandler: { (status:CXCallDirectoryManager.EnabledStatus, e:Error?) -> Void in if (status == CXCallDirectoryManager.EnabledStatus.enabled) { // do something } print(status) print(e) })I get the following error:Optional(Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.CallKit.CallDirectory was invalidated from this process. UserInfo={NSDebugDescription=The connection to service named com.apple.CallKit.CallDirectory was invalidated from this process.})com.urnoftheapp is placeholder for the URN of the App Bundle, which is the beginning of the URN of the Extension, which just added .SperrlisteThanks and Regards,Emil
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’16
Reply to NSCocoaErrorDomain 513
I'm fighting with the following error NSCocoaErrorDomain 513 reported by a very small number of users (~ 0.01%):Do the users who have this problem always have the problem? Or can they do something to avoid it (restart the device, delete and reinstall your app, and so on)?Do the users who have this problem have anything in common? All in the same country? Or using the same language? Or locale? All using a particular type of device? Or using a jailbroken device?Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’16
Reply to Share security scoped bookmark in app group?
This isn't even working, now, only from my Main App.I set the main app to be Read-Only file access. Using the code below to create then immediately resolve the URL's bookmark data.Using `.securityScopeAllowOnlyReadAccess` and then `.withSecurityScope` var stale = false guard let bookmarkData = try? url.bookmarkData(options: .securityScopeAllowOnlyReadAccess, includingResourceValuesForKeys: nil, relativeTo: nil), let url = try? URL(resolvingBookmarkData: bookmarkData, options: [.withoutUI, .withSecurityScope], relativeTo: nil, bookmarkDataIsStale: &stale) else { print(error NSCocoaErrorDomain Code=259 :() return }
Topic: Code Signing SubTopic: General Tags:
Oct ’18
Reply to Retrieving Logs from a Customer's Device
With iOS 14 beta 4, the error message has changed from Error Domain=NSCocoaErrorDomain Code=4099 The connection to service on pid 0 named com.apple.OSLogService was invalidated. UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.OSLogService was invalidated.} to Caught error: Error Domain=OSLogErrorDomain Code=9 Client lacks entitlement to perform operation UserInfo={NSLocalizedDescription=Client lacks entitlement to perform operation, _OSLogErrorInternalCode=14} It doesn't appear that my Feedback (FB7868256) has been looked at, but, is this being fixed?
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’20
Reply to Xliff export and \n
Sure, but I thought I did that in the original post. Look at the strings file. When I start I have an n in the line. When I export and then import, its broken up into multiple lines in the strings file. This causes iOS to tell you that the strings file is misformatted and now it will not load the string.So I start with:BackupFailReason=A database integrity failure occurred.nnThe backup cannot be performed.;and end up with:BackupFailReason=A database integrity failure occurred. The backup cannot be performed.;And then when iOS tries to load the strings file, you get:(lldb) po [[NSBundle mainBundle] localizedStringForKey:@Event value:@ table:@InformantCommon] 2015-10-05 15:49:37.570 Informant[16125:14938518] Unable to load .strings file: CFBundle 0x7fefa2404100 </Users/akac/Library/Developer/CoreSimulator/Devices/9B2E40B5-7E2E-45C5-9C8A-E96044F37E4A/data/Containers/Bundle/Application/53B52216-15FA-4050-8564-69F65E664A1E/Informant.app> (executable, loaded) / InformantCommon: Error Domain=NSCocoaErrorDomain
Oct ’15
Reply to Creating file bookmarks doesn't work anymore on macOS 15 Sequoia
Today, mysteriously, the sample code works again. How could this possibly happen? Yesterday all my App Store apps weren't able to resolve and create file bookmarks, and today they work again. It's hard to guess at an exact cause, but this particular error: Error Domain=NSCocoaErrorDomain Code=256 Failed to retrieve app-scope key ...comes from one of the intermediate daemons involved in resolving security scoped bookmarks. If there was a problem in one of the lower level daemons it communicated with, then it's possible the problem would resolve itself if/when that daemon restarted. __ Kevin Elliott DTS Engineer, CoreOS/Hardware
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’24
Reply to Simulator issues with AUv3 Example code
I had this same error, in case I am compiling for watchOS.2017-07-07 18:18:19.403968-0300 TestingAV WatchKit Extension[7368:2935401] [audiocomp] 178: registration server connection invalidated2017-07-07 18:18:19.404003-0300 TestingAV WatchKit Extension[7368:2928791] [audiocomp] 170: registration server proxy error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.audio.AudioComponentRegistrar was invalidated. UserInfo={NSDebugDescription=The connection to service named com.apple.audio.AudioComponentRegistrar was invalidated.}
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’17
Reply to NSCloudKitMirroringExportRequest issues
I am also having same issue not using SwiftUI. Simple swift app with CoreData and CloudKit auto syncing option turn on. <NSCloudKitMirroringResult: 0x600000268fa0> success: 0 madeChanges: 0 error: Error Domain=NSCocoaErrorDomain Code=134417 Request '<NSCloudKitMirroringImportRequest: 0x600000cc10e0> 1A57C80D-0BAE-4E9A-BF8C-41F695ECE8A1' was cancelled because there is already a pending request of type 'NSCloudKitMirroringImportRequest'. UserInfo={NSLocalizedFailureReason=Request '<NSCloudKitMirroringImportRequest: 0x600000cc10e0> 1A57C80D-0BAE-4E9A-BF8C-41F695ECE8A1' was cancelled because there is already a pending request of type 'NSCloudKitMirroringImportRequest'.}
Jul ’20
Reply to Error 159 - Sandbox restriction when connecting to XPC service
Now I got this new Error error description -> Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 3 - No such process. UserInfo={NSDebugDescription=The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 3 - No such process.} , error user info -> { NSDebugDescription = The connection to service named com.FxPlugTestXPC was invalidated: failed at lookup with error 3 - No such process.; } and error localizedDescription -> Couldn’t communicate with a helper application. @eskimo
Apr ’24
Reply to Error Domain=NSCocoaErrorDomain Code=4099
This error is coming only in iOS 15, but no such error is on iOS 17 or 18, need help 2024-11-14 07:29:28.173901-0600 Zacks[16171:116902] [Client] Updating selectors after delegate addition 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.}
Nov ’24
Reply to iOS folder bookmarks
It was: Error Domain=NSCocoaErrorDomain Code=256 Could not open() the item but then I look in the console: error 00:47:00.954979+0100 kernel Sandbox: BookmarksBench(61956) deny(1) file-write-data /Users/user/Documents/file which reminded me to check the entitlements – turns out I forgot to specify read/write access for user selected files... Fixed that - and everything is good now. Thank you. PS. Quite interesting that that affects secure bookmark creation, but not normal bookmark creation..
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’25
Reply to IAP returned an error "Couldn't communicate with a helper application" on iOS 17.4
The issue has been resolved. We found that setting the product name parameter of Xcode to more than 10 Chinese characters can lead to IAP failure. I don't know if this is a deliberate restriction by Apple or a bug in iOS 17.4. when we using SKProductsRequest to request product information, StoreKit will throw the following exception message: [c3d9_SK1] Failed in XPC product request products(IDs: [xsdqxz_tehui_1]): Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.storekitd UserInfo={NSDebugDescription=connection to service named com.apple.storekitd}
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’24
Reply to Error on iOS14 when using MDLAsset(url:) initializer
Got the same error on a large mesh 2020-10-21 11:07:46.374517-0700t[19062:6094948] connection to com.apple.ModelIO.AssetLoader was interrupted 2020-10-21 11:07:46.377911-0700t[19062:6094927] AssetLoader.loadURL errorHandler: Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 0 named com.apple.ModelIO.AssetLoader UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.ModelIO.AssetLoader} 2020-10-21 11:07:46.380719-0700t[19062:6094927] Couldn’t communicate with a helper application.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’20
Reply to StoreKit testing in Xcode produces a weird error
I'm having this same issue on a simulator. I'm using Xcode 12.2 and simulator 14.2. I did the setup as in https://developer.apple.com/documentation/xcode/setting_up_storekit_testing_in_xcode and I'm testing a subscription purchase and the error happens right after payment confirmation screen. When I printed out the transaction error I got the following (lldb) po transaction.error Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 25563 named com.apple.storekitservice UserInfo={NSDebugDescription=connection to service on pid 25563 named com.apple.storekitservice} Is there a way to fix it? Did I missed some config step>
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’20