Search results for

NSCocoaErrorDomain

1,063 results found

Post

Replies

Boosts

Views

Activity

Reply to What is required to register for CoreWLAN events?
Error Domain=NSCocoaErrorDomain Code=4099Hmmm, that looks exactly like the error that I was under the impression we’d fixed in 10.13.4 (r. 36702504). At this point I’m going to have to revisit this issue in depth and that’s not something I can do in the context of DevForums.Share and Enjoy — Quinn “The Eskimo!” Apple Developer Relations, Developer Technical Support, Core OS/Hardware let myEmail = eskimo + 1 + @apple.com
Apr ’18
Reply to dataWithContentsOfURL is nil with url from Files app
Why would my app not have permission to view the document when it's from the files app? Error Domain=NSCocoaErrorDomain Code=257 The file “afile.pdf” couldn’t be opened because you don’t have permission to view it. UserInfo={NSFilePath=/private/var/mobile/Containers/Shared/AppGroup/xxxxxxxx/File Provider Storage/afile.pdf, NSUnderlyingError=0x281f4f150 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’21
Reply to run app in Xcode 12 simulator
Same issue when launching iOS simulator with Xcode 12.2 Domain: NSCocoaErrorDomain Code: 257 Failure Reason: You don’t have permission. Recovery Suggestion: To view or change permissions, select the item in the Finder and choose File > Get Info. User Info: { .... }- The operation couldn’t be completed. Permission denied Domain: NSPOSIXErrorDomain Code: 13 Failure Reason: Permission denied- Any solution so far?
Dec ’20
Reply to Photos app crashes on launch in Catalina
I have a similar issue:Error Domain=PHPhotosErrorDomain Code=4302 PHPhotosErrorInvalidState UserInfo={NSLocalizedDescription=PHPhotosErrorInvalidState, currentState=error, NSUnderlyingError=0x600001b16e20 {Error Domain=com.apple.photos.error Code=43002 (null) UserInfo={currentState=error, NSUnderlyingError=0x600001b16d90 {Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 1476 named com.apple.Photos.Migration UserInfo={NSDebugDescription=connection to service on pid 1476 named com.apple.Photos.Migration}}}}}Have no idea how to fix.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’19
Reply to English always being loaded.
What I found for myself where using iOS 9 they don't work, but iOS 8 they do (I thought it was Xcode, but it seems its iOS):(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 Code=3840 Unexpected character / at line 1 UserInfo={NSDebugDescription=Unexpected character / at line 1, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 Unexpected ';' or '=' after key at line 4801 UserInfo={NSDebugDescription=Unexpected ';' or '=' after key at line 4801}} EventSo obviously something in my strings file is not as kosher as it should be. Would be nice if Xcode could identify this
Oct ’15
Reply to Xcode wont run WatchKit App
Dec 3 12:10:53 My-AppleWatch iap2d[93] <Warning>: process com.apple.stocks.watchapp.watchextension is now suspending Dec 3 12:10:53 My-AppleWatch gizmoappd[95] <Warning>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named appid.watchkitapp.watchkitextension was invalidated. UserInfo={NSDebugDescription=The connection to service named appid.watchkitapp.watchkitextension was invalidated.} Dec 3 12:10:53 My-AppleWatch gizmoappd[95] <Notice>: (Error) WatchKit: <SPGizmoPlugInManager.m __72-[SPGizmoPlugInManager beginUsingExtension:serverIdentifier:completion:]_block_invoke:972> could not activate plugin appid.watchkitapp.watchkitextension (error:Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named appid.watchkitapp.watchkitextension was invalidated. UserInfo={NSDebugDescription=The connection to service named appid.watchkitapp.watchkitextension was invalidated.}) Dec 3 12:10:53 My-AppleWatch gizmoappd[95] <
Topic: App & System Services SubTopic: General Tags:
Dec ’15
Reply to Could not get services from gamed - ERROR Error Domain=NSCocoaErrorDomain Code=4097
I faced the same issue, couple of times:Details:Do Not Disturb Schedule is turned onOn iPhone 7 (iOS 9.4)Please test database changes to Private RecordZone during the Do Not Disturb Schedule.Please could others confirm whether it happened during Do Not Disturb Schedule ?Error:Error connecting to CloudKit daemon: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.cloudd UserInfo={NSDebugDescription=connection to service named com.apple.cloudd}
Topic: Graphics & Games SubTopic: GameKit Tags:
Jun ’18
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
Reply to File transfer issue from iPhone to Watch after iOS 17.5 & WatchOS 10.5 update
Help! How can transfer img file from phone to watch? I meet below problem: Compress: 84317 bytes Save to: ../Application/06FB8B02-39C8-4844-B13B-D3860EE5B564/tmp/compressed_image.jpg Read file scuccess: 84317 bytes -[WCFileStorage persistOutgoingFileTransfer:] error serializing file transfer , transferring: YES> due to Error Domain=NSCocoaErrorDomain Code=4866 Caught exception during archival: This object may only be encoded by an NSXPCCoder.
Topic: App & System Services SubTopic: General Tags:
Oct ’24
Reply to Selecting which data models sync with iCloud SwiftData
CoreData: error: addPersistentStoreWithType:configuration:URL:options:error: returned error NSCocoaErrorDomain (134100) CoreData: error: userInfo: CoreData: error: metadata : { NSPersistenceFrameworkVersion = 1337; NSStoreModelVersionChecksumKey = /mv+MJ232k6TtgLWF/6u6Xvt1IOs/ezBTew3e5ULc+E=; NSStoreModelVersionHashes = { CloudSyncModelA = {length = 32, bytes = 0x3987992e 6ee680c6 e8bb9511 266ac8b2 ... 97ac3feb daf3a616 }; CloudSyncModelB = {length = 32, bytes = 0xd2664c00 d176a085 d0cb6b7f 7fdd3661 ... 60f1b0b2 a9d0444e }; CloudSyncModelC = {length = 32, bytes = 0xca91943c 6571aedb 07473eaa 154207d1 ... 66bb77c1 6283438e }; }; NSStoreModelVersionHashesDigest = DJ2WYYwgxZ0ODDxWSCU/qENUGNTyxR4QfG8zLErpzQrvMoo9u19pSVjC7jzbUm0QLzGhFtKR3E0LRQvO9u6WXQ==; NSStoreModelVersionHashesVersion = 3; NSStoreModelVersionIdentifiers = ( 1.0.0 ); NSStoreType = SQLite; NSStoreUUID = FC5CF467-5684-4C95-8C0E-49698D0A8648; _NSAutoVacuumLevel = 2; } CoreData: error: reason : The model used to open the store is incompatibl
Nov ’23
Reply to Getting a basic URL Filter to work
About 3): Digging further with Console, I saw this error message: NESMURLFilterSession[Wipr:...]: Failed to start with error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service created from an endpoint was invalidated from this process. UserInfo={NSDebugDescription=The connection to service created from an endpoint was invalidated from this process.} Obviously no clue what this means 🥲 But it seems that the extensions with the NEURLFilterControlProvider cannot even be launched for some reason?
Jul ’25
Reply to Error Domain=NSCocoaErrorDomain Code=518 "The file couldn’t be saved because the specified URL type isn’t supported."
If I change line 7 to:let url = URL(fileURLWithPath: path)I get this new error:Error Domain=NSCocoaErrorDomain Code=513 You don’t have permission to save the file “Documentsrezepte.csv” in the folder “7628BDA0-E8BD-4058-B49F-9A3B70F1FC02”. UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/7628BDA0-E8BD-4058-B49F-9A3B70F1FC02/Documentsrezepte.csv, NSUnderlyingError=0x170055c00 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’17
Reply to iOS 16Crashed: com.apple.privacyaccounting.PAAccessLogger
I also encountered a similar problem with the error message as follows: Is there any way to fix it iOS16 xcode 14 [PAAccessLogger] Failed to log access with error: access= accessor:<> identifier:ED0F70CE-BEB5-4F47-8213-9A7E52AEFB80 kind:intervalEvent timestampAdjustment:0 visibilityState:0 assetIdentifierCount:0 tccService:kTCCServicePhotos, error=Error Domain=NSCocoaErrorDomain Code=4097 connection to service with pid 2824 named com.apple.privacyaccountingd UserInfo={NSDebugDescription=connection to service with pid 2824 named com.apple.privacyaccountingd}
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’22
Safari App Extension fails to connect to CloudKit daemon (cloudd) with XPC communication errors -- CKErrorDomain Code=6 / NSCocoaErrorDomain Code=4099 – Unable to connect to CloudKit daemon
I'm working on a macOS app with a Safari web extension. I'm trying to share a SwiftData model between devices using CloudKit synchronization. I am able to get synchronization in the main app on the same device, CloudKit sync works correctly — changes appear in the CloudKit Dashboard under com.apple.coredata.cloudkit.zone. However, in the Safari App Extension, data is saved locally and persists across launches, but never syncs to CloudKit. I have followed the recommended practices for configuring the App Group and entitlements, but the issue persists. Questions: Is there an official limitation preventing Safari App Extensions from connecting to the CloudKit daemon (cloudd)? If not, what entitlements or configuration changes are required for a Safari App Extension to successfully sync with CloudKit? Is the xpc_error=159 from bootstrap_look_up() a known sandbox restriction for this extension type? Any guidance from Apple engineers or others who have successfully used CloudKit from a Safari App Extension would be
2
0
132
Aug ’25
Reply to How to activate NEPacketTunnelProvider?
While still working on write to file, I'm running into this issue now. Error Domain=NSCocoaErrorDomain Code=513 UserInfo={NSFilePath=, NSUnderlyingError=0x600000c782a0 {Error Domain=NSPOSIXErrorDomain Code=1}}. I read the thread https://developer.apple.com/forums/thread/63075 and added .noFileProtection to my write method call, but that didn't fix the issue. Since the network extension works as root to write to file and I want to write to /private/tmp/example.txt, why am I seeing this error?
Aug ’23