Hello,I installed all previuos betas without problems, but after installing 10.13.1 beta 4 I cannot see any content in Safari, App Store and Mail.I suspect it may be an issue with WebKit, for the moment I installed Safari Technology Preview and it works, but I could not solve the problem with the other programs. In console I find:Safaricould not create directory for future sandbox extension, error Error Domain=NSCocoaErrorDomain Code=512 Impossibile salvare il file “”. UserInfo={NSFilePath=}andSafariPage (pid: 0) did become unresponsive on <<private>>any help?thank youFabio
Search results for
NSCocoaErrorDomain
1,063 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hello,I try to implement a FileProvider for iOS11.I succeed to list my items, but when I try to show a file by clicking on it, nothing happens.I set my item with this parameter :var isDownloaded: Bool { if let file = self.file { if FileManager().fileExists(atPath: Tools().getGenericFilePath(file: file).path) { return true } else { return false } } return false }(If I don't set it, it shows me the placeholder)It seems that :providePlaceholder(at url: URL, completionHandler: ((_ error: Swift.Error?) -> Void)?)is called multiple times (at least three).Here is my enumerator :override func enumerator(for containerItemIdentifier: NSFileProviderItemIdentifier) throws -> NSFileProviderEnumerator { let maybeEnumerator: NSFileProviderEnumerator? = nil if (containerItemIdentifier == NSFileProviderItemIdentifier.rootContainer) { return FileProviderEnumerator(enumeratedItemIdentifier: containerItemIdentifier) } else if (containerItemIdentifier == NSFileProviderItemIdentifier.workingSet) { // TODO and never called }
I'm seeing the same issue with my app. When I restart downloading of a content that previously failed, it sometimes fails with Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory UserInfo={NSErrorFailingURLKey=xxx, NSErrorFailingURLStringKey=xxx}. It will sometimes recover after trying several times. Sometimes I had to reinstall the app to recover from this issue. I see an other error in console that could be related to this issue.Error removing item at url:file:///private/var/mobile/Containers/Data/Application/E58771BB-D7DE-5B6E-547FE8B44E25/Library/Caches/com.apple.nsurlsessiond/Downloads/XXXX/,error:Error Domain=NSCocoaErrorDomain code=4 couldn't be removed.UserInfo={NSFilePath=/private/var/mobile/Containers/Data/Application/E58771BB-D7DE-5B6E-547FE8B44E2/Library/Caches/com.apple.nsurlsessiond/Downloads/XXX,NSUserStringVariant=(Remove), NSUnderlyingError=0X153e32f90{Error Domain=NSPOSIXErrorDomain code=2 No such file or directory}}I do not know why these errors occur and how to workar
Topic:
App & System Services
SubTopic:
Networking
Tags:
[ERROR 2017-10-19 11:19:59.691] filecoordinationd Cannot send wakeUp message to fileproviderd. Error: Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.FileProvider was invalidated. Use[ERROR 2017-10-19 12:14:35.800] bird file provider manager connection interrupted[note 2017-10-19 14:40:18.878] revisiondERROR 2017-10-19 15:58:58.449] Finder notify_get_state(156) failed with 'invalid_token' (2) for '<private>'[ERROR 2017-10-19 15:58:58.449] Finder notify_get_state(157) failed with 'invalid_token' (2) for '<private>'[ERROR 2017-10-19 15:58:58.449] Finder notify_get_state(158) failed with 'invalid_token' (2) for '<private>'[ERROR 2017-10-19 15:58:58.450] Finder notify_get_state(159) failed with 'invalid_token' (2) for '<private>'[ERROR 2017-10-19 15:58:58.450] Finder notify_get_state(161) failed with 'invalid_token' (2) for '<private>'Whih cloud part has issues? Is there any specific fix that has to be done?
Lately i've been getting a strange error that is attached to the currentIem property of my AVPlayer object.When changing from one playerItem to the next i load up the AVURLAsset asynchronously and setup the playerItem once it has loaded the asset. The AVPlayer's currentItem is replaced with the new one and occassionally I will get a AVPlayerStatusFailed on the playerItem. The Error has a domain of NSCocoaErrorDomain and a code 257 stating The file couldn't be opened because you don't have permission to view it.. I can then try the process again for the same file and it will work. Anyone else get that kind of error on the AVPlayerItem? Seems bizarre considering it works if you try it again. Files are stored in the app. The app shouldn't have a problem accessing files. Any tips welcome, thanks.
Hi,I'm writing an integration app harness that will test the functionality of our SDK in the real world and I'm planning to do so using iOS Action App extensions as subprocesses to initiate the Action Extensions as test cases. I followed the article below to accomplish thathttps://ianmcdowell.net/blog/nsextension/And so I created one action extension so far, which is to test starting the library manager of the SDK. It works on the simulator but when tested on the device the test fails, because it requires the Location Services to run the SDK.I could override that service, but Xcode will generate this logs that complains about not accessing the NSUserDefaults. This adds 30 seconds of testing so I rather avoid that2017-12-07 10:38:55.907542-0500 LibraryManagerTestExtension[2619:13235133] [User Defaults] Couldn't read values in CFPrefsPlistSource<0x1017041d0> (Domain: com.apple.Accessibility, User: kCFPreferencesCurrentUser, ByHost: No, Container: kCFPreferencesNoContainer, Contents Need Refresh: Yes): acc
Probably I see the same issue on an iPhone 8 Plus with iOS 11.2. The error: service connection to com.apple.contactsd was interrupted. Error communicating with XPC Service: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.contactsd UserInfo={NSDebugDescription=connection to service named com.apple.contactsd}
Topic:
UI Frameworks
SubTopic:
AppKit
Tags:
I'm new to XCode and I have the following problem, any ideas?When I execute this command in the terminal, I get the following error:cd ~/Documents/Projects/AC_Trabajadores/Java6/Login;security list-keychains -s ~/Library/Keychains/login.keychain;security unlock-keychain -p <password> ~/Library/Keychains/login.keychain;/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -scheme Login -destination generic/platform=iOS -configuration Debug clean build SYMROOT=$PWD/build 2>&1-bash: password: No such file or directoryBuild settings from command line: SYMROOT = $PWD/build2017-12-13 17:31:52.086 xcodebuild[1095:67650] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 496. Parsing will be abandoned. Break on _CFPropertyListMissingSemicolon to debug.2017-12-13 17:31:52.089 xcodebuild[1095:67650] CFPropertyListCreateFromXMLData(): Old-style plist parser: missing semicolon in dictionary on line 496. Parsing will be abandoned. Break on _CFPropertyLis
I have a project that has built fine on my CI server for months, but recently after upgrading to Xcode 9.2 and allowing Xcode to manage certs, the build has failed.I get: Assertion: Failed to build project MyProject with scheme MyProjectTests.In the build logs, I get:Dec 18 14:24:00 [732] <Info>: Running task /usr/bin/nice /usr/bin/xcrun xcodebuild analyze test -IDEBuildOperationMaxPercentageOfConcurrentCompileTasks=80 -DTDKSupportWirelessDevices=NO -IDEPostProgressNotifications=YES INDEX_ENABLE_DATA_STORE=NO -DVTAllowServerCertificates=YES -DVTProvisioningUseServerAccounts=YES -DTDKDisableSymbolCopying=YES -scheme MyProjectTests -skipUnavailableActions -project /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/8fcdf05205548c130db77d4c41179bfe/Source/MyProject/MyProject.xcodeproj -derivedDataPath /Users/xcodeserver/Library/Caches/XCSBuilder/Bots/8fcdf05205548c130db77d4c41179bfe/DerivedData -skipUnsupportedDestinations -destination-timeout 30 -destination platform=com.apple.platform.macosx,arch=x86_64 -D
When I want to save my array (HTML shape) I have this error.Error Domain=NSCocoaErrorDomain Code=513 You don’t have permission to save the file “Untitled.xls” in the folder “Desktop”. UserInfo={NSFilePath=/Users/gerardbuguet/Desktop/Untitled.xls, NSUnderlyingError=0x60400044d8c0 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}I do not understand why.How can I resolve this issue ?Thanks in advance.
We're seeing a rare issue in the field that I haven't been able to reproduce. The app primarily uses a main queue managed object context, with a couple of other private queue contexts for specialized cases. Those cases do not modify objects that are also modified in the main queue context, so we haven't done anything to specifically handle merge conflicts. We shouldn't have any during normal operation.In at least one case, a user transitions from background to foreground and back to background in a short period of time. One of the things we do when transitioning to inactive state is to save the main queue context. During this save, sometimes it appears that all of the objects loaded in the main queue context will become conflicted. When this happens, the conflicts are very odd:Failed to save: Error Domain=NSCocoaErrorDomain Code=133020 Could not merge changes. UserInfo={conflictList=( NSMergeConflict (0x11d8ec540) for NSManagedObject (0x11bf50990) with objectID '0xd00000000f340014 <x-coredata://36
We have gotten reports of issues with recording slow motion videos in our application. We have tested the issue on iPhone X, iPhone 6, and iPhone SE. The 6 and the X both work fine, but the SE fails when attempting to add the recorded video to Photos.The video file to be added to Photos:h.264 with recommended settingsQuicktime (.mov)120/200/240 FPSNo custom metadataAAC audio with recommended settingsOur code adding the video:PHPhotoLibrary.shared().performChanges { PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL: url) }The returned error doesn't provide much useful information, which appears to be a recurring issue when working with Photos.Error Domain=NSCocoaErrorDomain Code=-1 (null)We apply an aspect ratio to the videos using the encoder setting's clean aperture parameters. Apparently, changing the video aspect ratio affects the result (see the list at the bottom).We have tried:Because the aspect ratio affected the result, we thought the issue might be related to the amount of data
I'm trying to read the contents of a file on the filesystem in a macOS Swift app (Xcode 9 / Swift 4).I'm using the following snippet for it:let path = /my/path/string.txt let s = try! String(contentsOfFile: path) print(s)My problem is the following:1. This works in a Playground2. This works when I use the Command Line Tool macOS app template3. This terminates in a permission error when I use the Cocoa App macOS app templateThe permission error is the following:Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=257 The file data.txt couldn't be opened because you don't have permission to view it. UserInfo={NSFilePath=/my/path/data.txt, NSUnderlyingError=0x60c0000449b0 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}I guess it's related to sandboxing but I found no information about it.1. How can I read from the filesystem in a sandboxed app? I mean there are so many GUI apps which need an Open File dialog, it cannot be a realistic restric
I'm trying to remove a file in the Documents directory, but it says that the file doesn't exist! Here's my coding:let zipFiles = documentSTRINGS.filter{$0.hasSuffix(zip)} .... .... do{ print (zipFiles) try FileManager.default.removeItem(atPath: zipFiles.first!) } catch{ print (error) }zipFiles prints [file:///private/var/mobile/Containers/Data/Application/XXXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXX/Documents/Accoltus.zip]. So I know the file exists, but it's printing the following error:Error Domain=NSCocoaErrorDomain Code=4 “Accoltus.zip” couldn’t be removed. UserInfo={NSFilePath=file:/ Remove), NSUnderlyingError=0x1c445d730 {Error Domain=NSPOSIXErrorDomain Code=2 No such file or directory}}This isn't making any sense. Does anyone have any clue why this is happening?
Iam trying to implement FileProvider method - (void)importDocumentAtURL:(NSURL *)fileURL toParentItemIdentifier:(NSFileProviderItemIdentifier)parentItemIdentifier completionHandler:(void (^)(NSFileProviderItem importedDocumentItem, NSError *error))completionHandlerI am getting following error generated when trying to upload a folder with multiple items in it. Also my FileProviderItem list getting deleted after this.2018-02-14 17:47:53.598426+0530 Files[8694:412673] [default] [ERROR] connection invalidated in fetchRemoteFileProviderVendorWithIdentifier:remoteObjectInterface:messageInterface:handler:connectionErrorHandler: (protocol: FPXOperationService) 2018-02-14 17:47:53.598634+0530 Files[8694:412673] [default] [ERROR] lost connection while performing action: Error Domain=NSCocoaErrorDomain Code=4099 Couldn’t communicate with a helper application. 2018-02-14 17:47:53.600929+0530 Files[8694:412677] [UI] performOperation(:sourceOperationItems:destinationItem:viewControllerForPresentingErrors:forceBoun