My app has suddenly stopped serving on demand resources from test flight and was rejected I submitted the app due to on demand resources being unavailable.It works locally. I am not hosting on demand resources, I am using Apple hosted resources.The full error message is NSCocoaErrorDomain = 4994 The requested application data doesn't exist.UserInfo=(NSLocalizedFailureReason=Request could not be completed. Invalid tag set in '{(tag1, tag2)}.tag1 and tag2 exist in Target->Resource TagsWhen I look in itunesConnect->Activity->IOS Builds->Version I can see that the app has the correct number of asset packs.Any ideas?
Search results for
NSCocoaErrorDomain
1,063 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
when i update xcode to 7.3open ,crash,here is the tips:Process: Xcode [1475]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.3 (10183.3)Build Info: IDEFrameworks-10183003000000000~2App Item ID: 497799835App External ID: 816750016Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [1475]User ID: 501Date/Time: 2016-03-30 13:52:24.285 +0800OS Version: Mac OS X 10.11.4 (15E65)Report Version: 11Anonymous UUID: 4FCDDDB2-DC03-B4AF-BCAD-9A3B56B2F7AETime Awake Since Boot: 7400 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:ProductBuildVersion: 7D175UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'delegateClass' of extension 'Xcode.IDEPlaygroundEditor.MenuDefinition.SelectedResultDisplayMode' in plug-in 'com.apple.dt.IDELang
I'm getting a similar issue as the one above. However, I'm encountering this behavior with Share Extension:MobileSlideShow[386]: 2016-04-13 15:11:08.629|MobileSlideShow|0x14ce07cd0: HOST: Failed to load remote view controller with error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named <bundle-identifier>.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid. UserInfo={NSDebugDescription=The connection to service named <bundle-identifier>.viewservice was interrupted, but the message was sent over an additional proxy and therefore this proxy has become invalid.}
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
Hey,One of our customers have encountered the following problem while attempting to a share a file from the camera roll using our app Share Extension. The outcome behavior of the following log is that the extension is not respondent for only that file that have failed previously to upload to our app due to a time out. It still works fine for other files.In the following log, I can see the out of range exception followed by the NSCocoaErrorDomain Code=4099.Apr 13 15:11:07 audi pkd[153] <Warning>: assigning plug-in <bundle-identifier>(2.1.2) to plugin sandboxApr 13 15:11:07 audi kernel[0] <Notice>: xpcproxy[451] Container: /private/var/mobile/Containers/Data/PluginKitPlugin/669C0F52-1C21-441D-9906-E2EFBD8A7D00 (sandbox)Apr 13 15:11:08 audi kernel[0] <Notice>: LwVM::_generateMappedExtentsList - failed to map unmap range to partitionApr 13 15:11:08 audi backboardd[60] <Warning>: Unable to bootstrap_look_up port with name <bundle-identifier>.gsEvents: unknown error code
I'm introducing Unique Constraints to an existing app, in a new model version.The model has entity Person which has an optional one-to-one relationship with entity Pet. Person's delete rule is cascade, and Pet's inverse relationship delete rule is nullify. There's another entity, Job, which Person also has a to-one relationship. But that deletion rule, and the inverse deletion rule, are both nullify.Person has a personID property which I've made unique.In a main queue context I've got an instance of Person, with ID xxx, that has no Pet set. Let's call that person Charlie. I create a Job as well, and set that as iOS Dev, and assign it to Charlie's job property.Then in a child private queue context, I insert a new Charlie also with ID xxx (the unique constraint) and create a Pet and set it. I don't set a Job. I save the child context with no issue.Immediately after, I attempt to save the Main Queue context. But just before that, I inspect the insertedObjects property of the Main Queue context and see, as I expe
Hey. So I've created an OS X share extension and have an app to bundle it in. This all works fine - the only problem is my app is named sia-OSX.appSo I renamed my product name to Skim it so it outputs Skim it.app - which is fine. Only now the extension either fails to show up when you hit the Share button or it does show up and crashes.In the console log I have this:2016-04-27 15:15:10.376 Safari[2686:37262] plugin it.skim.sia-OSX.sia-OSX-Share invalidated2016-04-27 15:15:10.376 Safari[2686:37262] Hub connection error Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named it.skim.sia-OSX.sia-OSX-Share was invalidated. UserInfo={NSDebugDescription=The connection to service named it.skim.sia-OSX.sia-OSX-Share was invalidated.}2016-04-27 15:15:10.382 Safari[2686:37218] --error: [ShareKit] error in -[NSExtension beginExtensionRequestWithInputItems:completion: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named it.skim.sia-OSX.sia-OSX-Share was invalidated
Process: Xcode [3097]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.3.1 (10188)Build Info: IDEFrameworks-10188000000000000~3Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [3097]User ID: 501Date/Time: 2016-05-03 15:29:58.478 +0800OS Version: Mac OS X 10.11.4 (15E65)Report Version: 11Anonymous UUID: 4FCDDDB2-DC03-B4AF-BCAD-9A3B56B2F7AETime Awake Since Boot: 22000 secondsSystem Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:ProductBuildVersion: 7D1012UNCAUGHT EXCEPTION (NSInternalInconsistencyException): Error getting value for key 'delegateClass' of extension 'Xcode.IDEPlaygroundEditor.MenuDefinition.SelectedResultDisplayMode' in plug-in 'com.apple.dt.IDELanguageSupportUI'UserInfo: {NSUnderlyingError = Error Domain=DVTPlugInErrorDomain Code=2 Loading a
Hi all.A customer of my app Yoink has an issue with it. When he tries to drag a file to it, the console reports this:Error Domain=NSCocoaErrorDomain Code=256 Failed to retrieve app-scope key UserInfo={NSDebugDescription=Failed to retrieve app-scope key}The app, as soon as it retrieves an NSURL via drag and drop, creates a security-scoped bookmark from it (the entitlements are set correctly, of course, because for me and everyone else who uses this app, except this one person, it works fine).So, now my question is, what causes Failed to retrieve app-scope key?The app creates the bookmark like this:NSURLBookmarkCreationOptions options = NSURLBookmarkCreationWithSecurityScope; NSData *bmData = [fileURL bookmarkDataWithOptions:options includingResourceValuesForKeys:nil relativeToURL:nil error:&err]; if (bmData == nil) bmData = [fileURL bookmarkDataWithOptions:options|NSURLBookmarkCreationSecurityScopeAllowOnlyReadAccess includingResourceValuesForKeys:nil relativeToURL:nil error:&err];(I repeat th
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:
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 ????
I'm working on a Cloudkit sync with my Core Data app. I made a NSOperation to update my local store with records downloaded from the cloud.When I initialize my custom operation, I create a private NSManagedObjectContext.It's created like so in my Core Data Stack class:func createBackgroundManagedContext() -> NSManagedObjectContext { let backgroundManagedObjectContext = NSManagedObjectContext.init(concurrencyType: NSManagedObjectContextConcurrencyType.PrivateQueueConcurrencyType) backgroundManagedObjectContext.parentContext = self.managedObjectContext backgroundManagedObjectContext.undoManager = nil return backgroundManagedObjectContext }Later, when my custom operation main() function is called, and I'm trying to insert new managed object into my context, i'm recieving this error:2016-05-12 22:50:45.115 MyApp[5026:1496475] Core Data: error: -executeRequest: encountered exception = The database appears corrupt. (invalid primary key) with userInfo = { NSFilePath = /var/mobile/Containers/Data/Application/F1263
I have a iOS + WatchKit app that compiles and runs fine on my computer, but fails to compile on my coworker's machine. The error seems to be a bad path being generated during the compilation of the Assets.xcassets catalog in the Watch App. As you can see in the build output below, the actool is trying to create a SQLite store at /tmpUntitled-AUmDGI27.uicatalog, instead of what should probably be /tmp/Untitled-AUmDGI27.uicatalog. This fails because Xcode does not have write permissions to /. This only happens with the xcasstets file in the Watch App & Watch Extension; there's no problem compiling the xcassets from the main iOS app. Does anyone have any idea why this might be happening, or how to work around it (aside from `chmod 777 /`)?2016-05-21 14:54:10.425 IBCocoaTouchImageCatalogTool[68243:3281850] CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///tmpUntitled-AUmDGI27.uicatalog options:{ NSPersistentStoreRemoveStoreOnCleanup = 1; NSSQLitePragmasOption = { journal_mod
I'm trying to load a file I've save for my iOS Content blocker but I keep getting this log and it won't work. This is my code and log I'm getting, can someone please help me find the issue?ThanksOptional(Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.SafariServices.ContentBlockerLoader UserInfo={NSDebugDescription=connection to service named com.apple.SafariServices.ContentBlockerLoader})import UIKitimport MobileCoreServicesclass ActionRequestHandler: NSObject, NSExtensionRequestHandling { func beginRequestWithExtensionContext(context: NSExtensionContext) { let attachment = NSItemProvider(contentsOfURL: NSBundle.mainBundle().URLForResource(blockerList, withExtension: json))! let item = NSExtensionItem() item.attachments = [attachment] if let urlToFile = BlackListManager.sharedInstance.urlToFile(), userFile = NSItemProvider(contentsOfURL: urlToFile) { item.attachments = [userFile] } print(item.attachments) context.completeRequestReturningItems([item], completionHandler
iTunes and OS X were updated on May 16, Garage Band on May 19. One or more of these updates silently changed the behaviour of what the file open dialog (NSOpenPanel) displays.When selecting “Music” in the sidebar below the “Media” item header, nothing is displayed, the view above the file selection view only displays “GarageBand”, not “iTunes” as it used to do.The console spits out the info below:31/05/16 08:57:47,714 My Application[570]: Preflight for plugin com.apple.iLMBiTunesPlugin failed, so it will not load. Error Domain=NSCocoaErrorDomain Code=3587 dlopen_preflight(/Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/iLMBiTunesPlugin): Library not loaded: /Library/Frameworks/iTunesLibrary.framework/Versions/A/iTunesLibrary Referenced from: /Library/Application Support/iLifeMediaBrowser/Plug-Ins/iLMBiTunesPlugin.ilmbplugin/Contents/MacOS/iLMBiTunesPlugin Reason: no suitable image found. Did find: /Library/Frameworks/iTunesLibrary.framework/Versions/
My iOS app supports a document type and includes the appropriate UTI data. It can therefore open documents of a specific type from mail attachments, for instance. It works well.I am currently stumped, however: when I open a document from the iCloud Drive app (tap document, share button, Copy to <app>) my application gets launched but any attempts to copy the item from the provided URL fails with NSCocoaErrorDomain, error 257 (basically telling me I don't have the permissions to read the file). This issue is not present when my app is running in the background, however, and does not seem to occur when the app gets launched from a mail attachment (whether it's running ot not).I compared the URLs handed to my app and they are identical, whether the app was running or not.Here's the URL my app is handed: file:///private/var/mobile/Library/Mobile%20Documents/com~apple~CloudDocs/filename.extThe code I'm using is the following:// uniqueURL is a destination URL in my app's sandbox: // file:///var/mobil