Search results for

NSCocoaErrorDomain Error Code 4

170,026 results found

Post

Replies

Boosts

Views

Activity

Reply to Retrieving Logs from a Customer's Device
@bens OSLogStore is marked available in iOS 14: https://developer.apple.com/documentation/oslog/oslogstore?changes=latest_minor Unfortunately, there is an issue with retrieving entries (the which I asked about during labs and have filed a Feedback Request for. Please duplicate if you get a chance!: FB7787937 This is for the error message: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service on pid 0 named com.apple.OSLogService was invalidated.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’20
Reply to Apple Document - Creating a Basic Video Player
I finally got the video to play by going to the Signing & Capabilities tab in the Project Settings and checked Outgoing Connections (Client) under App Sandbox. Apple should make note of this requirement in their guide. However, I am still getting the following errors in the console: 2021-03-30 14:45:34.347266-0500 Streamer[12701:657907] [plugin] AddInstanceForFactory: No factory registered for id CFUUID 0x600003974980 F8BB1C28-BAE8-11D6-9C31-00039315CD46 2021-03-30 14:45:34.474219-0500 Streamer[12701:657916] validateSessionInfo: bundleID is invalid. Please specify the bundleID for kRTCReportingSessionInfoClientBundleID 2021-03-30 14:45:34.475221-0500 Streamer[12701:657894] startConfigurationWithCompletionHandler: Failed to get remote object proxy: Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 0 named com.apple.rtcreportingd UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.rtcreportingd} 2021-03-30 14:45:34.475366-0500
Topic: Media Technologies SubTopic: Audio Tags:
Mar ’21
Reply to SwiftData unversioned migration
Ok Great! I have created my VersionedSchemas that define my four models and included them in the models property. And created my ModelContainer using the schema initializer Schema(versionedSchema: SchemaV2.self) Yet nothing works. I'm getting a few errors including: error: Attempting to retrieve an NSManagedObjectModel version checksum while the model is still editable. This may result in an unstable verison checksum. Add model to NSPersistentStoreCoordinator and try again. and error: Store failed to load. (type: SQLite, url: with error = Error Domain=NSCocoaErrorDomain Code=134504 Cannot use staged migration with an unknown model version. UserInfo={NSLocalizedDescription=Cannot use staged migration with an unknown model version.} with userInfo { NSLocalizedDescription = Cannot use staged migration with an unknown model version.; } I’m concerned that I may have corrupted my database with all the things I’ve been trying. Is there a chanc
Aug ’24
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
Error returned from daemon: Error Domain=com.apple.accounts Code=7
Hey All, i am getting this error, when i try to pic a picture from library and camera with the help of UIImagePickerController. Anyone have any solution for this? **2022-11-22 12:17:56.241155+0530 ---[10745:2313612] [core] Error returned from daemon: Error Domain=com.apple.accounts Code=7 (null) 2022-11-22 12:17:56.245411+0530 ---[10745:2313614] [PAAccessLogger] Failed to log access with error: access= accessor:<> identifier:---kind:intervalEvent timestampAdjustment:0 visibilityState:0 assetIdentifierCount:0 tccService:kTCCServicePhotos, error=Error Domain=NSCocoaErrorDomain Code=4097 connection to service with pid 7261 named com.apple.privacyaccountingd UserInfo={NSDebugDescription=connection to service with pid 7261 named com.apple.privacyaccountingd}**
2
0
2.6k
Nov ’22
MusicKit Sample Code errors
In Xcode 13 beta 4, the Sample Code Using MusicKit to Integrate with Apple Music has compiler errors around the player.play() calls in handleTrackSelected and handlePlayButtonSelected. The error is async call in a function that does not support concurrency / call can throw, but is not marked with try and the error is not handled Would it be possible to include a fix for this error in the sample code - or could somebody share a fix here in the forums? Thanks so much!
5
0
1.4k
Jul ’21
Reply to App does not use my permissions to create dir
I have discovered an error that functioned in macOS but does not in iOS. Specifically, all the atPath: 's above are fed .absoluteString which must be .path in iOS. Correcting this eliminated the debugger statement: Error Domain=NSCocoaErrorDomain Code=642 You can’t save the file Thanks to Leo Dabus Nov 23 '20 at 3:53 @ stackoverflow.com for pointing out the different results of each.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Feb ’21
code signing certificate error
Hello,I am trying to Code Sign an App and sideload it to my Apple TV 4. The problem now is that when I use the iOS App Signer program, I always get an error saying that 'I have an error with the code-signing certificate. How can I solve this? I need immediate help.. I have been on this for more than twenty hours, but I can't get the problem solved... ;(
0
0
666
Mar ’16
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
Xcode beta 4 won't install Guides and Sample Code
So I've just updated to macOS Sierrra beta 4 (16A270f) and I've installed Xcode beta 4 (8S188o).But now it won't let me install Guides and Sample Code ending after the download of 1,13 GB with the following error message:Could not download and install Guides and Sample Code, an Unexpected error has occurd while moving the files to the final locationSo any help with this would be nice...
2
0
943
Aug ’16
Reply to SharePlay Developer Profile not working?
I'm trying with iOS beta 7 and the updated SharePlay Developer Profile and I'm getting the following error: Error preparing group activity: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.group-activities.conversationmanagerhost was invalidated: failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.group-activities.conversationmanagerhost was invalidated: failed at lookup with error 159 - Sandbox restriction.} The call to prepareForActivation() is returning .cancelled without any prompt on the device.
Topic: App & System Services SubTopic: General Tags:
Aug ’21