Search results for

NSCocoaErrorDomain

1,063 results found

Post

Replies

Boosts

Views

Activity

Reply to fileManager.copyItem with overwrite?
The error I am getting is: Large file found, copy failed - Error Domain=NSCocoaErrorDomain Code=516 “.DS_Store” couldn’t be copied to “Audio” because an item with the same name already exists. UserInfo={NSSourceFilePathErrorKey=/Volumes/RMP_Nearline/To_Archive/TAA/2019/190002_TA_Carnegie_Storytelling/Audio/.DS_Store, NSUserStringVariant=( Copy ), NSDestinationFilePath=/Volumes/RMP_Nearline/To_Archive/TAA/2019/To_Box/190002_TA_Carnegie_Storytelling/Audio/.DS_Store, NSFilePath=/Volumes/RMP_Nearline/To_Archive/TAA/2019/190002_TA_Carnegie_Storytelling/Audio/.DS_Store, NSUnderlyingError=0x60000195ce10 {Error Domain=NSPOSIXErrorDomain Code=17 File exists}} But the output location is empty when I start the copy. The paths are very similar, but notice the To_Box in the destination path. I should also note these are large video project directories. This one is 5.3TB. I don't see the problem on small test directories. I made a small project https://github.com/ehemmete/CopyFolder that shows the same problem on
Topic: App & System Services SubTopic: General Tags:
Oct ’23
Reply to SCSensitivityAnalyzer always returns a result of false
just as a followup in case anyone is still wondering.. SCSensitivityAnalyzer does seem to be working as intended now on mac (incl in widgets & the widget simulator), and on device on iOS.. however it doesn't work in the iOS simulator, which may be expected? tho i can't see anything about it in the docs at any rate, the simulator errors i get look like: Error fetching CommSafety configuration from ScreenTime: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.ScreenTimeAgent.communication UserInfo={NSDebugDescription=connection to service named com.apple.ScreenTimeAgent.communication} and Failed to get contents of directory: /Users/bloop/Library/Developer/CoreSimulator/Devices/7E385B3A-40AF-4CF1-AA9E-723BB46141E7/data/Library/Biome/streams/restricted/SensitiveContentAnalysis.MediaAnalysis/local, error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.biome.access.user was invalidated from this process. UserInfo={NSDebugDescri
Topic: App & System Services SubTopic: General Tags:
Oct ’23
Reply to Xcode 15 can't install iOS 17 platform simulator
Also running into this, I have a handful of other weird things too like when I go to uninstall listed runtimes I get: ❯ xcrun simctl runtime delete 21J353 An error was encountered processing the command (domain=com.apple.CoreSimulator.simdiskimaged.SimDiskImageError, code=18): Cannot stage disk image or bundle for delete: 4A9A3A5B-03C2-4A4F-AF9B-A237B7A500BE Underlying error (domain=NSCocoaErrorDomain, code=4): “4A9A3A5B-03C2-4A4F-AF9B-A237B7A500BE.dmg” couldn’t be moved to “NSIRD_simdiskimaged_rClQ89” because either the former doesn’t exist, or the folder containing the latter doesn’t exist. The file doesn’t exist. Almost feels like my CoreSimulator directories got corrupted and now I can't recover.
Sep ’23
[NSPersistentCloudKitContainer] CloudKit integration forbids renaming 'OldEntityName' to 'NewEntityName'. Older devices can't process the new records. How to proceed?
I used a renaming identifier to rename an Entity Name, but it doesn't seem to work and it causes a crash at start during in-place migration. How to rename an Entity Name when using NSPersistentCloudKitContainer? I get this exception at start: CloudKit integration forbids renaming 'OldEntityName' to 'NewEntityName'. Older devices can't process the new records. Unresolved error Error Domain=NSCocoaErrorDomain Code=134110 An error occurred during persistent store migration. App is not in production, need a way to rename 'OldEntityName' to 'NewEntityName'. How to achieve this?
1
0
917
Sep ’23
Finder Sync Extension does not allow for sandboxed access
Hi there, Introduction I have been working on a Finder Sync extension and I would now like to use it to access a file the user has selected. This has been causing me significant issues (and I believe that a lot of other developers have also experienced similar issues with the extension). Because I plan to release my app on the App Store, I need both the main app and the finder sync app to be sandboxed Some example code describing the issue When the user executes the custom finder action in the context menu, I use the following code to extract and access the selected files: guard let target = FIFinderSyncController.default().selectedItemURLs() else { NSLog(Failed to obtain targeted URLs: %@) return } do { //Read content of the first selected file (example) let text = try String(contentsOf: target[0], encoding: .utf8) }catch { print(Some error occurred: (error)) } The problem Though these files should have a sandbox exception (because they are selected by the user), they do not and I get the following error bec
5
0
2.7k
Sep ’23
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
Notarize: The staple and validate action failed! Error 73
I'm trying to staple a validation ticket to an exe file that is already notarized. The process ended with the following error: Downloaded ticket has been stored at file:///var/folders/bj/ry08v0694972s03cswkq5md80000gq/T/7f1a34f0-8628-4157-92b0-b59cebe70951.ticket. Could not remove existing ticket from file:///Users/efi-admin/Downloads/ActualSignedFile/Contents/CodeResources because an error occurred. Error Domain=NSCocoaErrorDomain Code=512 “CodeResources” couldn’t be removed. UserInfo={NSUserStringVariant=( Remove ), NSFilePath=/Users/efi-admin/Downloads/ActualSignedFile/Contents/CodeResources, NSUnderlyingError=0x600000151e90 {Error Domain=NSPOSIXErrorDomain Code=20 Not a directory}} The staple and validate action failed! Error 73. The above was captured using the verbose option of the cmd... Among the response, I can see the ticket: fields = { signedTicket = { type = BYTES; value = czhjaAEAAADxBQAALQAAADCCBe0wggL/MIICpKADAgECAghWLFU2G59vVTAKBggqhkjOPQQDAjByMSYwJAYDVQQDDB1BcHBsZSBTeXN0ZW0gSW50ZWdyY
7
0
1.7k
Sep ’23
The download failed, what are the requirements for the BackgroundDownloadExt certificate or BundleId?
xcrun backgroundassets-debug --simulate --app-install -d 00008120-0014188636D8C01E -b com.testBackGround.photos Application was installed event was sent for app identifier: (com.testBackGround.photos). WWDC Sessions Background Assets Extension container_create_or_lookup_app_group_path_by_app_group_identifier: client is not entitled backgroundassets.user Extension interrupted for identifier: com.testBackGround.photos runningboardd Invalidating assertion 31-413-2850 (target:[xpcservice:413])>:1479]) from originator [osservice:413] backgroundassets.user Extension invalidated for identifier: com.testBackGround.photos backgroundassets.user Extension for app identifier com.testBackGround.photos ran for 1.1 seconds. backgroundassets.user Failed to send -[BADownloaderExtensionProxy requestDownloadsWithContentRequest:manifestURL:extensionInfo:completion:]_block_invoke for: com.testBackGround.photos error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.testBackGround.photos.Ba
2
0
1.1k
Sep ’23
backgroundassets download failed
xcrun backgroundassets-debug --simulate --app-install -d 00008120-0014188636D8C01E -b com.linkone.photos Application was installed event was sent for app identifier: (com.linkone.photos). 1.Failed to get LSApplicationRecord for :432])>; Launching extension com.linkone.photos.BackgroundDownloadExt(417909C8-350A-40DB-BB09-011C6852A5F9) for host 432> with error Error Domain=NSOSStatusErrorDomain Code=-10814 (null) UserInfo={_LSLine=1569, _LSFunction=runEvaluator} 2.Extension interrupted for identifier: com.linkone.photos 3.Failed to send -[BADownloaderExtensionProxy requestDownloadsWithContentRequest:manifestURL:extensionInfo:completion:]_block_invoke for: com.linkone.photos error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.linkone.photos.BackgroundDownloadExt was invalidated from this process. UserInfo={NSDebugDescription=The connection to service named com.linkone.photos.BackgroundDownloadExt was invalidated from this process.} 4.Removing manifest download as e
2
0
1k
Sep ’23
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
iOS 14: Several MDM commands fails with error "Couldn’t communicate with a helper application"
With iOS 14 devices we can see that Many MDM Commands Fails with error Couldn’t communicate with a helper application. . This Error is more frequent in InstallApplication , InstallProfile command , but other MDM commads also face the same issue. I have attach sample response from some devices. We have seen this error in previous version of iOS but with iOS 14 these are very frequent. InstallApplication Errors CommandUUID InstallApplication;Collection=51075000000853127 ErrorChain ErrorCode 1005 ErrorDomain DeviceManagement.error LocalizedDescription Could not install app. ErrorCode 4097 ErrorDomain NSCocoaErrorDomain LocalizedDescription Couldn’t communicate with a helper application. Status Error UDID UDID-UDID CommandUUID InstallApplication;Collection=33783000002227119 ErrorChain ErrorCode 4099 ErrorDomain NSCocoaErrorDomain LocalizedDescription Couldn’t communicate with a helper application. Status Error UDID UDIDUDIDUDID CommandUUID InstallApplication;Collection=
5
0
5.1k
Aug ’23
File download failed
Failed to send -[BADownloaderExtensionProxy backgroundDownload:finishedWithSandboxToken:completionHandler:]_block_invoke for: com.xuhuiTest.photos error: Error Domain=NSCocoaErrorDomain Code=4097 connection to service with pid 2085 named com.xuhuiTest.photos.BackgroundDownloadExt UserInfo={NSDebugDescription=connection to service with pid 2085 named com.xuhuiTest.photos.BackgroundDownloadExt} Client is missing signing identifier, client must be signed with an identifier to use BackgroundAssets. (null) log.json
2
0
993
Aug ’23
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
Aug ’23
Localizable.xcstrings FAILS on iOS 17 beta 7
I’ve been working with Localizable, and I’m loving it. Unfortunately, upon upgrading to beta 7 this morning, it no longer works on my dev iPhone: Unable to load .strings file: CFBundle 0x281350380 (executable, loaded) / Localizable: Error Domain=NSCocoaErrorDomain Code=3840 Unexpected character b at line 1 UserInfo={NSDebugDescription=Unexpected character b at line 1, kCFPropertyListOldStyleParsingError=Error Domain=NSCocoaErrorDomain Code=3840 Conversion of string failed. UserInfo={NSDebugDescription=Conversion of string failed.}} I’ve investigated this ‘unexpected character b’ - and cannot figure out what this message is talking about. What I see on the screen is the key, instead of the localized string. Using Xcode 15.0 beta 7 (15A5229h) and iOS 17.0 beta 7 (21A5319a) What makes this completely befuddling is that the Localizable DOES still work on my M1 iPad (also running today’s iPadOS 17 beta 7 - as well as on my older 2015 iPad running iOS 16 - and even on my iPhone 7 running iOS 15.
1
0
1.6k
Aug ’23
Frequent Appear Download did fail: BAManifestDownload Error Domain=NSURLErrorDomain Code=-999 "cancelled"
Frequent Appear Download did fail: BAManifestDownload Error Domain=NSURLErrorDomain Code=-999 cancelled , How to resolve this error ? Here is Logs: Dec 30 11:16:02 backgroundassets.user[288] : Failed to send -[BADownloaderExtensionProxy sendAuthenticationChallenge:download:completionHandler:]_block_invoke for: com.xx.BADemoserror: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service with pid 1999 named com.xx.BADemos.extension was invalidated from this process. UserInfo={NSDebugDescription=The connection to service with pid 1999 named com.xx.BADemos.extension was invalidated from this process.} Dec 30 11:16:02 backgroundassets.user[288] : Cannot message extension for 'com.xx.BADemos' to answer auth challenge, canceling challenge for download: BAManifestDownload (0xd5e839fc0) - com.xx.BADemos.Manifest-B57DC493-0E76-49A0-9429-BB40B439DC22 Dec 30 11:16:02 backgroundassets.user(CFNetwork)[288] : Task <19F9FE6C-0DDE-419A-95F4-B309166FBA71>.<1> auth completion disp=2 cred=0x0 Dec
3
0
1.2k
Aug ’23