We have an enterprise app which is deployed over an https server. The App is downloaded through OTA using a .plist file. The .plist file has the url for the software-package and the display image. When the app is downloaded from OTA server, sometimes the installation in progress icon is not displayed. After the app is completely installed then the App icon is displayed. User is unable to see the progress of the app installation since its not visible. On the device we could see some failure logs as below :Jul 15 12:19:43 iPhone-6-1 installd[50] <Notice>: 0x16e2d3000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.xxx.xxx.xxx; Version=(null), ShortVersion=(null)>Jul 15 12:19:44 iPhone-6-1 installd[50] <Notice>: 0x16e2d3000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.xxx.xxx.xxx is now at /private/var/mobile/Containers/Data/Application/03C741AE-488C-4F76-A26B-9BA9385EF7E1Jul 15 12:19:44 iPhone-6-1 installd[50] <Notic
Search results for
NSCocoaErrorDomain
1,063 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
We have an Enterprise App that has been running fine in iOS 9 and I have been testing in iOS 10 beta 3 and have no updated to beta 4. However we have an issue in that when we call save context after creating a new object it crashes and I can't seem to work out why.The error message is as follows:Unresolved error Error Domain=NSCocoaErrorDomain Code=132001 (null) UserInfo={message=attempt to recursively call -save: on the context aborted,Somehting has obviously changed and the way that we are dealing with an accessing the NSManagedObjectContext, has anyone else experienced this when upgrading from iOS 9 to iOS 10? The applicaiton is still build with objective c as we haven't had the resources to make the jump to swift.
How read video file from video library on the phone if we know full path to video file, for example:/private/var/mobile/Media/DCIM/100APPLE/IMG_0011.MOVI tried to use that path in NSData like this:let videoData = try NSData(contentsOfFile: /private/var/mobile/Media/DCIM/100APPLE/IMG_0011.MOV, options: NSDataReadingOptions.DataReadingMappedIfSafe)but I receive this error:Error Domain=NSCocoaErrorDomain Code=257The file “IMG_0011.MOV” couldn’t be opened because you don’t have permission to view it.UserInfo={NSFilePath=/private/var/mobile/Media/DCIM/100APPLE/IMG_0011.MOV, NSUnderlyingError=0x17d88fc0 {Error Domain=NSPOSIXErrorDomain Code=1 Operation not permitted}}Reading (loading) video file from folder (path) in the aplication works fine, but reading from path that is not in the application folder (like path above) does not work.'So, my question is: how read (get) video file from phone's video library (using full video path) and transform to NSData object, but without saving any data to the disc (usin
I have a VPN client with Packet Tunnel Provider for OS X (Mac OS). It's already at the app store.For most of the people, it's working great, but for some others, it's not working at all -They try to turn on the VPN without any success, and I can see at their logs the following errors:- unknown80e6501154c4 pkd[1346]: enabling pid=1688 for plug-in com.myComp.mac.myClient.myClientExtension(1.0.1) 22F61C31-095F-4BA3-A914-8F1ED65F6EEB /Applications/myClient.app/Contents/PlugIns/myClientExtension.appex - unknown80e6501154c4 myClientExtension[1689]: plug-in sdk com.apple.networkextension.packet-tunnel not registered - unknown80e6501154c4 com.apple.xpc.launchd[1] (com.myComp.mac.myClient.myClientExtension[1689]): Service exited due to signal: Illegal instruction: 4 - unknown80e6501154c4 neagent[1688]: plugin com.myComp.mac.myClient.myClientExtension interrupted - unknown80e6501154c4 neagent[1688]: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.myComp.mac.myClie
When tapping on a push notification, the following method is not getting called on iOS 10 (beta 5) devices:func application(application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject], fetchCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) {...This prevents us from being able to use deeplinking from push messages on iOS 10. The problem occurs when using Testflight builds created with Xcode 7.3. The method does get called successfully on iOS 9 devices.I have not been able to test push functionality using the Xcode 8 beta because I've consistently been getting the following error on iOS 10 devices when trying to register for push notifications:Error Domain=NSCocoaErrorDomain Code=3000 no valid 'aps-environment' entitlement string found for application UserInfo={NSLocalizedDescription=no valid 'aps-environment' entitlement string found for application}(I am getting this error via the didFailToRegisterForRemoteNotificationsWithError method)This same
Update: I'm getting this in console.log Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Info>: preparing plug-in <private>(<private>) Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Notice>: connection to plug-in <private>(0DDA43D4-A588-4478-8405-C219EAA7F591) lost Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Error>: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.appID.SiriKitExtension UserInfo={NSDebugDescription=connection to service named com.appID.SiriKitExtension} Aug 15 11:43:43 iPhone assistantd(PlugInKit)[12442] <Info>: beginUsing of 0DDA43D4-A588-4478-8405-C219EAA7F591 concludes with error=Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.appID.SiriKitExtension UserInfo={NSDebugDescription=connection to service named com.appID.SiriKitExtension} Aug 15 11:43:43 iPhone assistantd(Foundation)[12442] <Notice>: PlugInKit error in beginUsing: Aug 15 11:
Topic:
App & System Services
SubTopic:
General
Tags:
have a VPN client with Packet Tunnel Provider for OS X (Mac OS). It's already at the app store.For most of the people, it's working great, but for some others, it's not working at all -They try to turn on the VPN without any success, and I can see at their logs the following errors:- unknown80e6501154c4 pkd[1346]: enabling pid=1688 for plug-in com.myComp.mac.myClient.myClientExtension(1.0.1) 22F61C31-095F-4BA3-A914-8F1ED65F6EEB /Applications/myClient.app/Contents/PlugIns/myClientExtension.appex - unknown80e6501154c4 myClientExtension[1689]: plug-in sdk com.apple.networkextension.packet-tunnel not registered - unknown80e6501154c4 com.apple.xpc.launchd[1] (com.myComp.mac.myClient.myClientExtension[1689]): Service exited due to signal: Illegal instruction: 4 - unknown80e6501154c4 neagent[1688]: plugin com.myComp.mac.myClient.myClientExtension interrupted - unknown80e6501154c4 neagent[1688]: Hub connection error Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.myComp.mac.myClient
ALAssetsLibrary returns various kind of errors which defined in ALAssetsLibrary.h.But PHPhotoLibrary doesn't return detailed errors.As you say, it just return general error as ErrorDomain=NSCocoaErrorDomain, ErrorCode=-1.I asked same kind of question to Apple TSI(Technical Support Incident) before.From their answer, at least PHPhotoLibrary doesn't return DiskSpaceError (ALAssetsLibraryWriteDiskSpaceError in case of ALAssetsLibrary)and WriteBusyError (ALAssetsLibraryWriteBusyError in case of ALAssetsLibrary)It just returns nereral error.
Topic:
Media Technologies
SubTopic:
Photos & Camera
Tags:
If a Notification Service Extension contains no references to shared frameworks, it loads and works as expected.It stops working completely when I add one particular shared framework to Linked Frameworks and Libraries section. The framework that causes issues seems to be not very different from others that work, except for its slightly larger size.The same framework loads and works OK in any other extension I tried (Notification Content, Today Widget, Share).Here's whats going on in the system log:pkd[159] <Info>: match returned 1 plug-ins SpringBoard(Foundation)[60] <Notice>: calling plugIn beginUsing: pkd[159] <Info>: assigning plug-in <private>(<private>) 7607AA74-3718-4708-8C72-28174BAC3980 to plugin sandbox pkd[159] <Notice>: allowing host 60 /System/Library/CoreServices/SpringBoard.app/SpringBoard to use plug-in <private>(<private>) uuid=7607AA74-3718-4708-8C72-28174BAC3980 at <private> SpringBoard(PlugInKit)[60] <Info>: preparing plug-in <p
I'm wondering if this is an issue with the NSPersistentContainer or something else is going on but when I launch the new model for my app and try to save a new relationship to an object it fails.Unresolved error Error Domain=NSCocoaErrorDomain Code=134020 The model configuration used to open the store is incompatible with the one that was used to create the store.NSUnderlyingException=Can't resolve how to assign objects to stores; some objects may have been assigned to stores; use [[managedObject objectID] persistentStore] to find out what is going where nowThis only happens on the first launch and I can see why. The configuration name is reported as PF_DEFAULT_CONFIGURATION_NAME rather than Users as it should be. Once the app is relaunched all works fine and the configuration reports correctly from launch.
I am getting this error when the app attempt to save change to local store:*** ERROR *** Unresolved error ErrorDomain=NSCocoaErrorDomain Code=132001 (null) UserInfo={message=attempt to recursively call -save: on the context aborted, stack trace=( 0 CoreData -[NSManagedObjectContext save:]The syntax used:NSError *error; if (![managedObjectContext save:&error]) { // Commit the change. NSLog(@*** ERROR *** Unresolved error %@, %@, error, [error userInfo]); }Although Xcode shows stack trace as if the program crashed, it didn't and the program continue to execute as expected. The changes are made to the local store as well. Other the error and the stack trace there is no really any evident that there is any problem.This happens only in Xcode 8 Beta (currently using beta 5).Any idea why I am getting this error?
I haven't been able to get the demo code to work. RequestTransaction gives the following error:2016-08-26 13:53:58.051672 Speakerbox[34264:1898734] [Default] Received error from transaction request: Error Domain=NSCocoaErrorDomain Code=4097 connection to service named com.apple.callkit.callcontrollerhost UserInfo={NSDebugDescription=connection to service named com.apple.callkit.callcontrollerhost}
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hey All,I'm starting the journey to incorporating Core-Data-iCloud syncing into my App for the first itme. I'm following the guide located here:https://developer.apple.com/library/ios/documentation/DataManagement/Conceptual/UsingCoreDataWithiCloudPG/UsingSQLiteStoragewithiCloud/UsingSQLiteStoragewithiCloud.htmlSure enough, on the first checkpoint I'm already having issues. My app reports: -[PFUbiquitySetupAssistant finishSetupWithRetry:](830): CoreData: Ubiquity: <PFUbiquitySetupAssistant: 0x1257a62f0>: Retrying after delay: 1Error Domain=NSCocoaErrorDomain Code=134080 An error occurred while opening the persistent store. UserInfo={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 checked the entitlements and they look okay... They appear correctly setup by Xcode.I have:com.apple.developer.icloud-c
Hello,I have modified the AVCam sample found here: https://developer.apple.com/library/prerelease/content/samplecode/AVCam/Introduction/Intro.html to capture and save DNG files.When attempting to save the (valid) DNG usingPHAssetCreationRequest *creationRequest = [PHAssetCreationRequest creationRequestForAsset]; [creationRequest addResourceWithType:PHAssetResourceTypePhoto data:self.photoData options:nil];It fails with Error Domain=NSCocoaErrorDomain Code=-1 (null)Alternatively, if I try saving the DNG with:[[[ALAssetsLibrary alloc] init] writeImageDataToSavedPhotosAlbum:self.photoData metadata:nil completionBlock:^(NSURL *assetURL, NSError *error)]A .TIF file is saved to the Camera Roll. This photo cannot be displayed by the Camera Roll (it shows up, just shows up blank), but if I transfer that file to my computer and rename the extension to .DNG, the photo loads just fine.Is anyone else having these issues? Is there a better / correct way to save DNGs? Are they known bugs in iOS 10 beta 8?Thank you
Hi, can you please describe (code example) how you did it?With my code:let cdm = CXCallDirectoryManager.init(); cdm.getEnabledStatusForExtension(withIdentifier: com.urnoftheapp.Sperrliste, completionHandler: { (status:CXCallDirectoryManager.EnabledStatus, e:Error?) -> Void in if (status == CXCallDirectoryManager.EnabledStatus.enabled) { // do something } print(status) print(e) })I get the following error:Optional(Error Domain=NSCocoaErrorDomain Code=4099 The connection to service named com.apple.CallKit.CallDirectory was invalidated from this process. UserInfo={NSDebugDescription=The connection to service named com.apple.CallKit.CallDirectory was invalidated from this process.})com.urnoftheapp is placeholder for the URN of the App Bundle, which is the beginning of the URN of the Extension, which just added .SperrlisteThanks and Regards,Emil
Topic:
App & System Services
SubTopic:
Core OS
Tags: