When I use ReplayKit to record screen , I got this:2015-08-27 15:08:52.182 RecordScreen[1118:17373] plugin com.apple.ReplayKit.RPVideoEditorExtension interrupted2015-08-27 15:08:52.182 RecordScreen[1118:17375] Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.ReplayKit.RPVideoEditorExtension UserInfo={NSDebugDescription=connection to service named com.apple.ReplayKit.RPVideoEditorExtension}why that's happened, and how can I fix it ?Thanks a lot~
Search results for
NSCocoaErrorDomain
1,063 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hi,I'm trying to play with both framework.In my project I just initialized the managedObject and persistentstore.I configured the project (capabilities and checked iCloud)Just with that i got the error below:Domain=NSCocoaErrorDomain Code=134080 The operation couldn’t be completed. (Cocoa error 134080.) UserInfo=0x7fa9ebf1a810 {Reason=Didn't get a container URL back from URLForUbiquityContainerIdentifier:, giving up now. Please ensure the application is signed with the proper entitlements to read from the container., NSPersistentStoreUbiquitousContainerIdentifierKey=null}I check the entitlements file automaticaly created, and everything seems fine.What could be the issue then ?!Thank you very much for any help.Fred
Hi all,I'm having a problem using the Xcode 7 unit testing with a Swift-based command line tool on Mac OS X. I've narrowed down the problem to what has to be a bug in Xcode 7 (reported to Apple); it seems that it's missing some symbols in the unit test bundle. Using xcodebuild xcrun on my test bundle yields:xcrun xctest ~/Library/Developer/Xcode/DerivedData/SwiftCmdLine-bhvuxytwbqgvhwcustczucmynqko/Build/Products/Debug/Tester.xctest 2015-09-08 22:58:27.298 xctest[61315:4942885] The test bundle at /Users/rmcgann/Library/Developer/Xcode/DerivedData/SwiftCmdLine-bhvuxytwbqgvhwcustczucmynqko/Build/Products/Debug/Tester.xctest could not be loaded because a link error occurred. It is likely that dyld cannot locate a framework framework or library that the the test bundle was linked against, possibly because the framework or library had an incorrect install path at link time. 2015-09-08 22:58:27.298 xctest[61315:4942885] Detailed error information: Error Domain=NSCocoaErrorDomain Code=3588 The bundle “Teste
Hi all,I'm trying to make an application which uses a directory contained in another application (which has made it available for discovery).First off, I present the picker:@IBAction func selectProject () { let controller = UIDocumentPickerViewController ( documentTypes:[public.directory,public.folder] , inMode:UIDocumentPickerMode.Open ) ; controller.delegate = self ; self.presentViewController ( controller , animated:true , completion:nil ) ; }(Sidenote: what's the difference between public.directory and public.folder? Should I be using one and not the other?)In its delegate, I try to get the contents of that directory:func documentPicker ( sender:UIDocumentPickerViewController , didPickDocumentAtURL url:NSURL ) { rootURL = url ; do { try contents = fileManager.contentsOfDirectoryAtURL ( rootURL! , includingPropertiesForKeys:nil , options:NSDirectoryEnumerationOptions(rawValue:0) ) ; } catch let error as NSError { contents = [] ; print ( Failed to get contents of (rootURL): (error) ) ; } self.tableView.relo
More information:func documentPicker ( sender:UIDocumentPickerViewController , didPickDocumentAtURL url:NSURL ) { rootURL = url do { var isDir:ObjCBool = false let exists = fileManager.fileExistsAtPath ( rootURL!.path! , isDirectory:&isDir ) print ( Exists: (exists); isDir: (isDir) ) try contents = fileManager.contentsOfDirectoryAtURL ( rootURL! , includingPropertiesForKeys:nil , options:NSDirectoryEnumerationOptions(rawValue:0) ) self.navigationItem.title = rootURL!.lastPathComponent! } catch let error as NSError { print ( Failed to get contents of (rootURL!.path!): (error) ) contents = [] self.navigationItem.title = ... } self.tableView.reloadData() }Exists: true; isDir: true Failed to get contents of /private/var/mobile/Containers/Shared/AppGroup/A497BA66-EA97-4658-BD4B-013ABBBB247A/File Provider Storage/git-ascii-bundle: Error Domain=NSCocoaErrorDomain Code=257 The operation couldn’t be completed. (Cocoa error 257.) UserInfo=0x17026e280 {NSURL=file:///private/var/mobile/Containers/Shared/AppG
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
HiI'm trying to upload an app with two watch targets. One watchOS and the other watchOS2. During the development i tested both and i'm able to run them on our watches with old a new OS versions.Today i'm trying to upload on iTunes connect the App, that contains the two targets. When I try to install via Testflight it work on WatchOS2. On WatchOS i'm not able to install the app and i get this error:Invalid Application Executablehttp://imgur.com/t94hDb9Is anyone else experinging this kind of problems? The WatchOS app has been successfully submitted in the past.The console says:Sep 14 21:58:04 User-iPhone-5 companionappd[217] <Notice>: (Note ) WatchKit: installing application, identifier: my.bundleidentifier.watchapp Sep 14 21:58:04 User-iPhone-5 companionappd[217] <Notice>: (Note ) WatchKit: application (my.bundleidentifier.watchapp), install status: 1, message: installation pending Sep 14 21:58:11 User-iPhone-5 companionappd[217] <Notice>: (Note ) WatchKit: Installation data for my.bundleiden
disk utility has the mount option grayed out.. i found out earlier through an attempt to restore to a time machine backup that i can unlock the partition through this way.. not sure if this changes things but after doing it via time machine heres the new result in terminal:-bash-3.2# cd /Volumes/Macintosh HD ; ls -1 Library/Extensions/ ; ls -1 Library/Application Support/VirtualBox/ ; find System/Library/Extensions -ctime +2w -depth 2 ; tail -70 var/log/system.log ; find Library/Logs/DiagnosticReports -name *.panic -ctime -1wACS6x.kextATTOCelerityFC8.kextATTOExpressSASHBA2.kextATTOExpressSASRAID2.kextArcMSR.kextCalDigitHDProDrv.kextHighPointIOP.kextHighPointRR.kextPromiseSTEX.kextSoftRAID.kexthp_io_enabler_compound.kexttap.kexttun.kextls: Library/Application Support/VirtualBox/: No such file or directorySystem/Library/Extensions/EltimaAsync.kext/ContentsSystem/Library/Extensions/hp_fax_io.kext/ContentsSystem/Library/Extensions/hp_Officejet_io_enabler.kext/ContentsSystem/Library/Extensions/HuaweiDataCardDriver
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Thanks! It says a moderator needs to approve it. I think because I included a link to a screenshot. Here is the text from my post. BTW. TIme Machine did finish my backup finally, so disabling spotlight was the fix I guess.I'm having issues with getting time machine to finish its first full backup since upgrading. I was thinking its related to spotlight indexing so I deleted the index to get it to do a full reindex. The issue is that it's taking forever. It's been at it for 12 hours now and doesn't seem to have made a dent. Anyone have any idea what I should do?i checked console for mdworker messages. It's full of these:9/17/15 11:14:28.359 AM mdworker[20222]: LaunchServices: received XPC_ERROR_CONNECTION_INTERRUPTED trying to map database9/17/15 11:14:28.359 AM mdworker[20222]: LaunchServices: Database mapping failed with result -10822, retrying9/17/15 12:03:40.568 PM mdworker[502]: Failed to retrieve system accounts: Error Domain=com.apple.accounts Code=10002 (null)9/17/15 12:03:40.572 PM mdworker[502]: [com
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I get the following error when I try and run the app on my watch:Error Domain=NSCocoaErrorDomain Code=256 The file “GetPic.php” couldn’t be opened. UserInfo={NSURL=https://website.com/GetPic.php}The actual line of code is:let URL: String = try String(contentsOfURL: NSURL(string: https://website.com/GetPic.php)!)This works fine in xcode. I updated to xCode 7.1 and am running the latest watchos version. Any ideas how to fix this?Thanks
Hi,I recently upgraded to Xcode 7.0 via the Mac App Store. I have been having an error recently which I have been unable to resolve. Basically, when I try to build (or build and run) my Xcode project (which is an iOS 9 app), I get the following error LaunchScreen.storyboard - Could not open document.I have tried so many different methods of trying to resolve the problem, but alas, they have all failed. Here are the methods that I tried:Restart Xcode (Didn't work).Clean and rebuild project (Didn't work).Restart Mac (Didn't work).Reinstall Xcode 7 from the Mac App Store (Didn't work).Delete the User/Library/Developer folder and reinstall Xcode 7 from the Mac App Store (Didn't work).Delete the contents of the Derived Data folder and rebuild the application (Didn't work).Installed Xcode 7 on a different Mac (Still got the same issue, even with a new Xcode project).I tried the solution in this Stack Overflow question: http://stackoverflow.com/a/31614717/1598906 - But alas it did not work.Finally, I tried the follo
DescriptionI have two persistentStores added to the Coordinator. One has a database (database2.sqlite) located in bundle wich is readonly and the other one (database1.sqlite) is located in the documents which is writeable. A while ago I updated the model and added a new model version. Under iOS 8 this setup works fine, no complaints but under iOS 9 I do not get any objects from the readonly database. Even deleting the app doesn't help. So everyone who is downloading the app from the store are not getting the content stored in the database2.sqlite 😟ErrorCoreData: error: -addPersistentStoreWithType:SQLite configuration:myConfguration2 URL:file:///Users/dev/Library/Developer/CoreSimulator/Devices/0A318522-3097-419D-9E72-337B536762C7/data/Containers/Bundle/Application/8DD5C2B3-E082-496A-B887-39E4B20C1F16/Diabetes360.app/database2.sqlite options:{ NSReadOnlyPersistentStoreOption = 1;} ... returned error Error Domain=NSCocoaErrorDomain Code=134100 (null) UserInfo={metadata={ NSPersistenceFrameworkVersion
A bit more information[self createFolder:@test];+ (void)createFolder:(NSString*)folder{ NSFileManager *fileManager = [NSFileManager defaultManager]; NSString *documentsPath = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]; NSString *thePath = [documentsPath stringByAppendingPathComponent:folder]; NSError *error = nil; [fileManager createDirectoryAtPath:thePath withIntermediateDirectories:YES attributes:nil error:&error];}Error Domain=NSCocoaErrorDomain Code=513 You don’t have permission to save the file “test” in the folder “Documents”. UserInfo={NSFilePath=/var/mobile/Containers/Data/Application/A64A699C-2441-49CF-8DA3-1188CC0E67D6/Documents/test, NSUnderlyingError=0x147d75170 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}
Topic:
App & System Services
SubTopic:
Core OS
Tags:
I'm porting an iOS application on tvOS. It uses coredata.I copied the data management logic with no changes and in the simulator is working fine.When I attempt to run on real AppleTV I got this error but the application could continue to run and the Sqlite database is working (in readOnly). When I make any change and save the context I have a crash.Instead, as I told before, in the simulator everything seems working correctly.============================2015-09-27 02:31:19.571 Vda3dATV[207:9404] CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///var/mobile/Containers/Data/Application/6BA4E327-F24E-4E84-ACBE-4C2F33627108/Documents/QuickAround.sqlite options:{ NSInferMappingModelAutomaticallyOption = 1; NSMigratePersistentStoresAutomaticallyOption = 1;} ... returned error Error Domain=NSCocoaErrorDomain Code=512 The file couldn’t be saved. UserInfo={reason=Failed to create file; code = 1} with userInfo dictionary { reason = Failed to create file; code = 1;}============
I forget the specific error code but it was part of the NSCocoaErrorDomain, however I have fixed this issue. I was testing on an iPhone 6S and I rebooted it and after that it worked fine. I didn't think I would encounter issues with iOS 9.0.1, but that was the problem, it was iOS on the iPhone 6S that was not working right. I remember that when we were trying to get a CloudKit app on the store it failed review 15+ times because it worked during development and in TestFlight, but it never worked during review. Apple always said that it didn't work, but it worked just fine for us. App Review is unexplainable sometimes.
Topic:
App Store Distribution & Marketing
SubTopic:
App Review
Tags:
HI,I have write the following code to save photo in album. it's work fine in iOS8 but It doesn't work in iOS9.PHPhotoLibrary.sharedPhotoLibrary().performChanges({ let assetRequest = PHAssetChangeRequest.creationRequestForAssetFromImage(newImage!) let assetPlaceholder = assetRequest.placeholderForCreatedAsset let albumChangeRequest = PHAssetCollectionChangeRequest(forAssetCollection: album, assets: albumFetch) albumChangeRequest!.addAssets([assetPlaceholder!]) }, completionHandler: { success, error in print(added image to album) print(error) })I got the error Error Domain=NSCocoaErrorDomain in iOS9.Please help to come out this problem.Thanks,Piyush