I'm working on an out-sourced application for a company and when a version of it built using ids and provisioning profiles from my Apple account it runs without problems. However when it is built and run using the company's ids and provisioning profiles I am seeing an issue with it. What is happening is when a notification service extension uses a call extension then the OS logs: doQueryCallExtensionStatusWithDispatchGroup() COMPLETED WITH ERROR: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.CallKit.CallDirectory was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo= NSDebugDescription=The connection to service named com.apple.CallKit.CallDirectory was invalidated: failed at lookup with error 159 - Sandbox restriction. I noticed that in the company's provising profile for the notification service extension the app identier prefix is different from the team identifer. In my own provisioning profile the app identifier prefix and team iden
Search results for
NSCocoaErrorDomain
1,063 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
As I mentioned in this thread https://developer.apple.com/forums/thread/695207 I want my containing app to be active after Mac restarts. I thought about something that could work - I wrote a helper embedded app which will be added to the login items, and after a restart this helper app will open the containing app. However, after archiving the project (with developer ID, it will be distributed outside the App Store), I see the following error at the Console: Non-fatal error enumerating at , continuing: Error Domain=NSCocoaErrorDomain Code=260 The file “PlugIns” couldn’t be opened because there is no such file. UserInfo={NSURL=PlugIns/ -- file:///Applications/MyMainApp.app/Contents/Library/LoginItems/LauncherApplication.app/Contents/, NSFilePath=/Applications/MyMainApp.app/Contents/Library/LoginItems/LauncherApplication.app/Contents/PlugIns, NSUnderlyingError=0x7fc5cb02c6f0 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}} I see that there's really no plugin folder, but why? Is it a
Topic:
App & System Services
SubTopic:
Drivers
Tags:
System Extensions
Developer ID
Network Extension
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:
We are having an issue when trying to view the the coveage report in our merged result bundle Running xccov view --report --only-targets merged.xcresult results in: 09:52:54 Error: Error Domain=XCCovErrorDomain Code=0 Failed to load coverage archive in scheme action '(null)' in result bundle UserInfo={NSLocalizedDescription=Failed to load coverage archive in scheme action '(null)' in result bundle, NSUnderlyingError=0x7f8ff8714f30 {Error Domain=NSCocoaErrorDomain Code=260 The file “Metadata.plist” couldn’t be opened because there is no such file. UserInfo={NSFilePath=/tmp/action.xccovarchive/Metadata.plist, NSUnderlyingError=0x7f8ff8714930 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}}}} Checking the man page for xccov I was inspired by the idea of extracting the coverage report from the result bundle to try to understand or work around our error. The man xccov page states that If xccov is passed a result bundle directly, it will extract the report or archive implicitly, as part
I'm looking at logs for EAUpdaterService to see why my new pair of AirPods Max will not update from firmware 3C16. I see that the firmware is being recognized as out of date, and the new version is being downloaded. It appears that, in the process of starting the actual update, the connection is invalidated, and I'm not sure why, or what to do about it: EAUpdaterService error = Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.commcenter.coretelephony.xpc was invalidated: failed at lookup with error 159 - Sandbox restriction.}
Hi, eskimo Lightning to USB OTG Adapter is from another vendor. I tried to use CryptoTokenKit in my iOS14+ app to connect to smart card token but I can't to find out how to fix next problem: this is my simple code import CryptoTokenKit let mngr = TKSmartCardSlotManager.default According official documentation in CryptoLibSwift.entitlements I have added this com.apple.security.smartcard but I have this one when app runs 2021-12-22 xxxx CryptoLibSwift[5479:4269434] [smartcard] ctk: connecting to slot registration server ( connection to service on pid 0 named com.apple.ctkd.slot-client) failed, error Error Domain=NSCocoaErrorDomain Code=4099 The connection to service on pid 0 named com.apple.ctkd.slot-client was invalidated. UserInfo={NSDebugDescription=The connection to service on pid 0 named com.apple.ctkd.slot-client was invalidated.} of course my next code doesn't work but token connected to iPhone let slotName = mngr?.slotNames[0] print(slotName:, slotName) How to fix this? Thanks.
Topic:
App & System Services
SubTopic:
Drivers
Tags:
Nothing like a public question to un-wedge the debugging muscle. Debugging this some more, I found that I had not run with DEBUG=electron-notarizer, and turning that on, shows the following output: 2021-12-23T19:09:25.522Z electron-notarize notarizing using the legacy notarization system, this will be slow An unhandled rejection has occurred inside Forge: Error: Failed to upload app to Apple's notarization servers *** Error: Notarization failed for '/var/folders/w8/hsj6918d0fsb8hxb127hqgp00000gn/T/electron-notarize-JveOtm/CloudInstance.zip'. *** Error: Unable to upload your app for notarization. Failed to get authorization for username 'jwatte@observeinc.com' and password. ( Error Domain=NSCocoaErrorDomain Code=0 Status code: 0 UserInfo={NSLocalizedDescription=Status code: 0, NSLocalizedFailureReason=The auth server returned a bad status code.} ) (-1011) { NSLocalizedDescription = Unable to upload your app for notarization.; NSLocalizedFailureReason = Failed to get authorization for username 'jwatte@
Topic:
Code Signing
SubTopic:
General
Tags:
@logicat I have the same problem as you. Have you found the reason?Error Domain=NSCocoaErrorDomain Code=512 wei neng cun chu gai wen jian。 UserInfo={NSUserStringVariant=Folder}。 And @eskimo it‘s a system problem? I don't have any ideas about this.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I'm getting a sandbox_extension_issue_file error [1: Operation not permitted] from ScopedBookmarkAgent while trying to resolve a successfully created security-scoped bookmark via URL(resolvingBookmarkData:options:relativeTo:bookmarkDataIsStale:) which then produces the error Error Domain=NSCocoaErrorDomain Code=256 Couldn't issue sandbox extension for the resolved URL The error only occurs for files under a dedicated folder /System/Volumes/Data/Test and not for files and folders under, e.g., /Users/... From what I understand, everything at /System/Volumes/Data/ and below should be accessible for the user. I've made sure that the Test folder has read and write permissions for the current user and changed ownership of the folder to username:staff, where username denotes my local user name. This happens both under macOS Big Sur 11.6.2 and macOS Monterey 12.1. Any help is much appreciated!
Thanks for your reply! I've tried both methods, unfortunately without success. The canonical path method did not resolve /System/Volumes/Data/Test/ to /Test/ and the string replacement results in error Domain=NSCocoaErrorDomain Code=260 Scoped bookmarks can only be created for existing files or directories
Topic:
App & System Services
SubTopic:
General
Tags:
Software Update just hangs on No keys matching () available for download if we run it as root. neither returning success nor failure on MacOS Monterey (OS Version 12.0.1) SUOSUNotificationManagerController having XPC issue saying No Such Process. faced this issue in normal XPC connection also. root process trying to connect user process throws the same error when it will be fixed. is there any work around for root to install via software update log trace: ues-mac-testl softwareupdate[2710]: SUOSUNotificationManagerController: Error connecting to notification manager service to set authorization: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.SoftwareUpdateNotificationManagerService was invalidated: failed at lookup with error 3 - No such process. UserInfo={NSDebugDescription=The connection to service named com.apple.SoftwareUpdateNotificationManagerService was invalidated: failed at lookup with error 3 - No such process.}
I've built a macOS app (in Xcode 12.5) with Finder extensions, and set all the components to share a common app group, with the name correctly formatted as CD......7C.com.orexresearch.EMPSecure.group . Up till now, it's been working fine for everything I've needed it to do, with app and extension both accessing common files. But now I need to do file downloads for the FileProvider extension, and these are failing. I know part of the problem is to do with the App group -- in the main app, the download works if I initialise the Dropbox component without the app group identifier, but if I switch Dropbox to use the app group identifier, it fails repeatedly in both the main app and the extension: error 21:36:44.487814+1100 EMPFileProvider BackgroundSession <7764EC70-AC7F-46F4-91DC-547FAA23249C> an error occurred on the xpc connection to setup the background session: Error Domain=NSCocoaErrorDomain Code=4097 UserInfo={NSDebugDescription=} error 21:36:44.487893+1100 EMPFileProvider BackgroundSession &
Hi there, I am currently making an app and trying to download content to a user-selected download directory (like how safari does it). However, whenever I set the download directory outside the App's documents, I get the following error when running my code on a real iOS device. downloadedFileMoveFailed(error: Error Domain=NSCocoaErrorDomain Code=513 “CFNetworkDownload_dlIcno.tmp” couldn’t be moved because you don’t have permission to access “Downloads”. UserInfo={NSSourceFilePathErrorKey=/private/var/mobile/Containers/Data/Application/A24D885A-1306-4CE4-9B15-952AF92B7E6C/tmp/CFNetworkDownload_dlIcno.tmp, NSUserStringVariant=(Move), NSDestinationFilePath=/private/var/mobile/Containers/Shared/AppGroup/E6303CBC-62A3-4206-9C84-E37041894DEC/File Provider Storage/Downloads/100MB.bin, NSFilePath=/private/var/mobile/Containers/Data/Application/A24D885A-1306-4CE4-9B15-952AF92B7E6C/tmp/CFNetworkDownload_dlIcno.tmp, NSUnderlyingError=0x281d045d0 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}
I have be trying to use the sample code project associated with WWDC21 session 10294: Meet MusicKit for Swift, with Catalyst. The apps works on mac correctly excepted the playback and the barcode scanning (that is out of my scope) The following message is displayed continuously: MusicAlbums[30849:533531] [SDKPlayback] Failed to obtain synchronousRemoteObject: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.Music.MPMusicPlayerApplicationControllerInternal was invalidated: failed at lookup with error 3 - No such process. UserInfo={NSDebugDescription=The connection to service named com.apple.Music.MPMusicPlayerApplicationControllerInternal was invalidated: failed at lookup with error 3 - No such process.} Before diving deeper i wanted to know if some of you have been able to play music via MusicKit with Mac catalyst? The sample code uses an ApplicationMusicPlayer.shared that is not available directly on macOS. (In fact none of the Music players are available) Would yo
ataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: The given data was not valid JSON., underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 Invalid value around line 1, column 0. UserInfo={NSDebugDescription=Invalid value around line 1, column 0., NSJSONSerializationErrorIndex=0}))) dyld4 config: DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot DYLD_LIBRARY_PATH=/Users/eshansingh/Library/Developer/Xcode/DerivedData/EmployeeManagement-bfquzjwgjywziwfrfyygkodtlgop/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/introspection DYLD_INSERT_LIBRARIES=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: