What is CoreMediaErrorDomain Code=-16653? I get this error in func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) immediately when I call resume on an AVAssetDownloadTask The same video plays fine in AVPlayer.
Search results for
NSCocoaErrorDomain Error Code 4
170,054 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
After updating to Swift Playgrounds 4 my non-M1 (Intel) MacBook Pro is no longer able to run the Learn to Code playgrounds (I also updated those to the newest versions which are based on Swift 5.3). I'm using the latest version of Mac OS Monterey. Here is the error I am receiving: The operation couldn’t be completed. (PlaygroundBuild.BuildSystem.BuildError error 0.) Here is the verbose error message: Error: /Applications/Playgrounds.app/Contents/Resources/Mac Catalyst.platform/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Modules/module.modulemap:2: umbrella for module 'ApplicationServices.ATSUI' already covers this directory Error: /Applications/Playgrounds.app/Contents/Resources/Mac Catalyst.platform/MacOSX.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATSUI.framework/Modules/module.modulemap:4: inferred submodules require a module with an umbrella Error:
can some please help me with the following error?var json = NSJSONSerialization.JSONObjectWithData(data!, options: .MutableContainers, error: &err) as? NSDictionary its stating - ! Extra argument 'error' in callbelow is my codes- please help me, its driving me mad.thanks
Regarding feedback FB20954846 for App Clip support, I got a message from Apple saying it is fixed. I can now compile, and code sign for an App Clip using the DeclaredAgeRange API. Great. Now that I can get past the compiler failure I'm running up against a new issue. When installed via TestFlight, an App Clip throws that the age range is unavailable. In the console app it looks like the App Clip is still prohibited from calling the system functionality: default PerformanceOrganizer AppClip 18:36:39.200071-0600 (501) Failed to fetch persona: got error from remote proxy: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: Connection init failed at lookup with error 159 - Sandbox restriction. UserInfo={NSDebugDescription=The connection to service named com.apple.mobile.usermanagerd.xpc was invalidated: Connection init failed at lookup with error 159 - Sandbox restriction.} error
Topic:
App Store Distribution & Marketing
SubTopic:
General
Tags:
Hi,According to the documentation for the UIRequiresPersistentWiFI InfoPlist key, iOS opens a Wi-Fi connection when this app is launched and keeps it open while the app is running. This suggests an app running on a phone that only has WiFi would fail to make requests with URLSession. I'd like to know how often this happens, is there an error code like the ones listed in https://developer.apple.com/documentation/foundation/1508628-url_loading_system_error_codes to indicate specifically that a request my app made failed because the Wi-Fi connection was closed?Thanks!
Hi,I have successfully implemented the ODR for an app at debug level and everything worked fine on Xcode 7.2.Suddenly I started getting this error after I restarted the MAC.now spent many hours and upgraded to Xcode 7.3.1 today.But I am having the same ERROR :Error Domain=NSCocoaErrorDomain Code=4994 Die angeforderten App-Daten sind nicht vorhanden. UserInfo={NSLocalizedFailureReason=Request could not be completed. Invalid tag in set '{( GERMAN)}.'}But I KNOW that my Tags exist. i am hosting the Asset packs on a private server.Any APPLE staff... reading this ????
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
I am currently receiving the following issue when my app requests access to the mindful minutes store:Error Domain=com.apple.healthkit Code=3 Failed to look up source with bundle identifier com.myorg.myapp UserInfo={NSLocalizedDescription=Failed to look up source with bundle identifier com.myorg.myapp}The app does not crash however the authentication page does not in fact display.This is strange because this was working perfectly in previous versions of my app (since which I have made very few alterations).The following is the code I am using to request the authentication:let typesToShare = Set([ HKObjectType.categoryType(forIdentifier: HKCategoryTypeIdentifier.mindfulSession)! ]) self.healthStore.requestAuthorization(toShare: typesToShare, read: nil) { (_, error) -> Void in if let error = error { print((error)) } DispatchQueue.main.async { self.performSegue(withIdentifier: openWalkthroughThree, sender: self) } }Initially, I thought this was an issue wi
And I should note that when using iCloud (ubiquitous container), we get a different thumbnail error when we initially create the document: Error Domain=NSCocoaErrorDomain Code=4101 Provider returned unsupported error UserInfo={NSDebugDescription=Provider returned unsupported error, NSUnderlyingError=0x2811fd920 {Error Domain=CKErrorDomain Code=11 UserInfo={ContainerID=com.apple.clouddocs, NSDebugDescription=, OperationID=B21EB1404E50EF3F, RequestUUID=46519FDB-FB10-48FF-B736-93650812BA45, errorKey=ckvneous, ServerErrorDescription=Record not found, CKErrorDescription=Error fetching record from server: Record not found, NSLocalizedDescription=Error fetching record from server: Record not found, NSUnderlyingError=0x2811ff360 {Error Domain=CKInternalErrorDomain Code=2003 UserInfo={ContainerID=com.apple.clouddocs, OperationID=B21EB1404E50EF3F, NSDebugDescription=, RequestUUID=46519FDB-FB10-48FF-B736-93650
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I’m not entirely sure what you mean by “nested json” but I suspect that you’re asking how to parse a dictionary within a dictionary. If so, here’s an example.Let’s start with JSON data like this:7b0a2020 22616464 72657373 22203a20 7b0a2020 2020227a 6970436f 64652220 3a202239 35303134 222c0a20 20202022 73747265 65744164 64726573 7322203a 20223120 496e6669 6e697465 204c6f6f 70222c0a 20202020 22636f75 6e747279 22203a20 22555341 220a2020 7d2c0a20 20226e61 6d652220 3a202241 70706c65 20496e63 2e220a7dAs text this looks like this:{ address : { zipCode : 95014, streetAddress : 1 Infinite Loop, country : USA }, name : Apple Inc. }You parse out the name and country like this:do { let rootUntyped = try NSJSONSerialization.JSONObjectWithData(data, options: []) guard let rootDict = rootUntyped as? NSDictionary else { throw NSError(domain: NSCocoaErrorDomain, code: NSFileReadCorruptFileError, userInfo: nil) } guard let name = rootDict[name] as? String else { throw NSError(domain: NSCocoaErrorDomain
Topic:
Programming Languages
SubTopic:
Swift
Tags:
I have been trying to run my app that i started making, but everytime i run it tells me Command /usr/bin/codesign failed with exit code 1?!?!So, i searched through the Xcode help, to no avail. Though, i found on developer.apple.com this thing that said you can go to your account at [developer.apple.com/account], and do what is on this screen shot here: But when i go to my account this is what i see:So, what is up with that? Also, can anyone tell me what the error mentioned above means and how i can fix it? That would be a great help, because rightnow my whole project is practically at a stop.☹️
I search places with the MKLocalSearchCompleter and refine the results when the tableView cell is selected. When a MKLocalSearchCompletion is selected and MKLocalSearch.Request() is started, I get these Errors (example selects Los Angeles): According to my research this is a very rare problem?! [SearchAttribution] No matching attribution source found for org.volunteermatch ... (+4 other domains) Error loading attribution info for identifier org.volunteermatch from geod: Error Domain=GEOErrorDomain Code=-8 No matching attribution source found for org.volunteermatch UserInfo={NSDebugDescription=No matching attribution source found for org.volunteermatch} ... (+4 other domains) These are the instance variables in a TableViewController: var searchCompleter = MKLocalSearchCompleter() var searchResults = [MKLocalSearchCompletion]() This code is running everytime the search term is changed: searchCompleter.queryFragment = text searchCompleter.resultTypes
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 b
Topic:
Accessibility & Inclusion
SubTopic:
General
Tags:
Since around March 4, 2025 off and on, we've been receiving 500 errors back from the validate_device_token endpoint on development and production. Today (March 6) we are constantly getting 500 error back. https://api.development.devicecheck.apple.com/v1/validate_device_token This was working previously before then. No change has happened on our end since then. This is a critical piece for our infrastructure. Thanks in advance. -Matt
If using Xcode beta 16 beta 4, a target type of Contact Provider Extension is created, then the auto-generated template code has errors right off the bat. Compiler be like what in the dickens is this?: class ContactProviderExtension: ContactProviderExtension
I am working on a React Native based hybrid App, and the App's IPA file is working perfectly in the IOS versions less than 14.3 but when I check/test the APP in my iPhone 12, which is having IOS 14.4 version, and I'm getting the below error: Failed to install application at private : Error Domain=MIInstallerErrorDomain Code=4 UserInfo={NSUnderlyingError=0x147f12ae0 {Error Domain=MIInstallerErrorDomain Code=4 UserInfo={NSUnderlyingError=0x147f18950 {Error Domain=NSPOSIXErrorDomain Code=2 UserInfo={SourceFileLine=377, NSLocalizedDescription=private, FunctionName=private}}, FunctionName=private, SourceFileLine=377, NSLocalizedDescription=private}}, FunctionName=private, SourceFileLine=339, NSLocalizedDescription=private} The above error occurs when I try to install the Xcode generated IPA file in my iPhone 12 (IOS 14.4). The same IPA file is working fine in iPhone SE (IOS 14.3).