Search results for

NSCocoaErrorDomain

1,063 results found

Post

Replies

Boosts

Views

Activity

Reply to NSCloudKitMirroringExportRequest issues
Hi I am newbie to the CloudKit and have tried to convert CoreDataCloudKitDemo to work with public database after watching the wwdc20-10650. I have the following error outputs. It doesn't help much, any suggestions? Thank you. CDFAKEImageDataC8B4705B-EB7D-4F8B-A21D-A9EDB303A74E:(defaultZone:defaultOwner) = CDFAKEPost620D3755-64F5-49A6-8793-16D8AB5F8154:(defaultZone:defaultOwner) = ... 2 Batch Request Failed CKError's omited ... CoreDataCloudKitDemo[5308:617130] [error] error: CoreData+CloudKit: -[NSCloudKitMirroringDelegate recoverFromPartialError:forStore:inMonitor:]blockinvoke(1943): : Found unknown error as part of a partial failure: will not be saved because of previous error in atomic zone> Unable to initialize CloudKit schema: A Core Data error occurred. CoreData: debug: CoreData+CloudKit: -[NSCloudKitMirroringDelegate remoteStoreDidChange:]block_invoke(2150): - Ignoring remote change notification because it didn't change any entities tracked by persistent history: Error Domain=NSCocoaErrorDomain
Sep ’20
Apple Silicon (DTK) Xcode 12 GM overwrote private arm64 frameworks to x64
So I didn't read the instructions too hard to continue using Xcode beta. I installed Xcode 12 gm and now Xcode 12 Beta won't even run at all. Xcode reports 2 issues in the console [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEiOSSupportCore (/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3587 dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore Reason: no suitable image found. Did find: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice: mach-o, but wrong architecture /Library/Apple/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice: mach-o, but wro
2
0
1k
Sep ’20
How do you properly get Video Data from PHPicker?
Hello, I understand that PHPicker works by overlaying the users' library so that the developer doesn't need to ask for permission to get Images or Videos. The demo video very clearly showed how to get access to Images by getting UIImage using the canLoadObject(ofClass: ) method. However, there is no such call for video assets. I even tested all of the objects that are listed as implementers of the NSItemProviderReading protocol, and none of them worked, including the AVURLAsset, and AVFragmentedAsset which seemed like the most likely candidates. In the demo video it mentions that you can also get access to video data but there is no clear way to do that. I have found a few solutions floating around online that show them using the loadItem(forType: ) function as follows. itemProvider.loadItem(forTypeIdentifier: com.apple.quicktime-movie, options: nil) Then in the response they can get a URL and use the video that way. However, when I use that method to get the URL I then try and get the video data using Data(c
1
0
3.6k
Sep ’20
Reply to Xcode fails to start Loading a plug-in failed.
The issue is I believe I attempted an upgrade and because I am using the new Apple chip CPU architecture, and not Intel, I have the wrong version. So the question is how do I get the Universal App Quick Start version back? Thanks, Carl /Applications/Xcode.app/Contents/MacOS/Xcode > Xcode12.0BugReport.09.19.2020 2020-09-19 14:38:08.058 Xcode[11382:191748] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEiOSSupportCore (/Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3587 dlopenpreflight(/Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice Referenced from: /Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore Reason: no suitable image found. Did find: /System/Library/PrivateFrameworks/MobileDevice.framework/Ver
Sep ’20
Reply to Xcode fails to start Loading a plug-in failed.
So after downloading and running the Xcode 12.2 beta from the developer.apple.com/download/universal. I'm still receiving the following error. So I will need some help: /Applications/Xcode-beta.app/Contents/MacOS/Xcode 2020-09-19 18:53:57.325 Xcode[4040:113313] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEiOSSupportCore (/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3587 dlopenpreflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore Reason: no suitable image found. Did find: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice: mach-o, but wrong architecture /Library/Apple/System/Library/
Sep ’20
Reply to Xcode fails to start Loading a plug-in failed.
I think we have the same problem... I have the Apple Developer Transition Kit (Apple/Arm Silicon) with macOS Big Sur 11.0 Beta (20A5299w) and I am unable to get Xcode to work at all. I tried to install Xcode, but it hung during the Installing Components phase when I first opened it. I then forcefully restarted the computer and now when I open Xcode I see the message Loading a plug-in failed. with the text: The plug-in or one of its prerequisite plug-ins may be missing or damaged and may need to be reinstalled.. Opening it via the Terminal.app shows: /Applications/Xcode-beta.app/Contents/MacOS/Xcode ; exit; 2020-09-20 12:46:51.273 Xcode[637:9847] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEiOSSupportCore (/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3587 dlopen_preflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore): Library not loaded
Sep ’20
Reply to Xcode fails to start Loading a plug-in failed.
Still no usable resolution from this group... looking for help. Having installed from this link: https://developer.apple.com/download/universal/ This version of Xcode 12.2 beta still gives the same error: Applications/Xcode-beta.app/Contents/MacOS/Xcode 2020-09-19 18:53:57.325 Xcode[4040:113313] [MT] DVTPlugInLoading: Failed to load code for plug-in com.apple.dt.IDE.IDEiOSSupportCore (/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin), error = Error Domain=NSCocoaErrorDomain Code=3587 dlopenpreflight(/Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore): Library not loaded: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice Referenced from: /Applications/Xcode-beta.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin/Contents/MacOS/IDEiOSSupportCore Reason: no suitable image found. Did find: /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice: mach-o, but wrong architec
Sep ’20
Core Data errors when saving context after syncing from CloudKit
In my new SwiftUI app I am using NSPersistentCloudKitContainer API to persist my data and also share it between multiple different devices. I am always using viewContext to fetch or save records, also my Stack consists of two custom configurations where CloudKit is enabled. One for entities to be stored in the CK public database and one for records in the private database. This usually works just fine. I can save or delete records on one device and they appear on the other device. However in some situations, usually after I imported data on device A and use the same device to create a new record I get errors like this when saving context: Error Domain=NSCocoaErrorDomain Code=133020 Could not merge changes. UserInfo={conflictList=( NSMergeConflict (0x28126df40) for NSManagedObject (0x28242eda0) with objectID '0xb76a5d0f17dd5aa9 ' with oldVersion = 33 and newVersion = 34 and old object snapshot = {n id = D1E2B253-723C-406C-8566-2307DA2D5C17;n name = bench;n} and new cached row = {n id = D1E2B253-723C-4
3
0
1.9k
Sep ’20
Error on iOS14 when using MDLAsset(url:) initializer
When loading OBJs into an MDLAsset using the MDLAsset(url:) initializer (to eventually get the model into SceneKit), the operation fails frequently and inconsistently on iOS14. This operation works fine for these same files on previous iOS versions. I've also observed the bug on iPadOS, although maybe less frequently. Not sure if it's relevant, but these OBJs are pulled from server and stored locally. But this bug is occurring after files are already downloaded. I already submitted an Apple bug report FB8734401. The console output seems to indicate a failure to communicate with ModelIO XPC service. I tried restarting my device, but the bug continues to occur. Console output: connection to com.apple.ModelIO.AssetLoader was interrupted AssetLoader.loadURL errorHandler: Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 0 named com.apple.ModelIO.AssetLoader UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.ModelIO.AssetLoader} Couldn’t communicate with a hel
3
0
1k
Sep ’20
An error occurred on the xpc connection to setup the background session: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 0 named com.apple.nsurlsessiond was invalidated from this process." UserInfo={NSDebugDescription=The conne
I am facing this issue when trying to access AWS S3 through AWS Cognito and Amplify on XCUITest build, iOS 13.0 Simulator. IT works on simulators with
0
0
893
Sep ’20
Could not load some videos
Hello there! I am trying to use PHPickerViewController to load videos, but I got a problem: I could load some videos only not all. I refer to the existing thread - https://developer.apple.com/forums/thread/652695, but dosen't work. This is the code I persent PHPickerViewController var config = PHPickerConfiguration() config.selectionLimit = 1 config.filter = .videos config.preferredAssetRepresentationMode = .current let picker = PHPickerViewController(configuration: config) picker.delegate = self present(picker, animated: true, completion: nil) Below is the relevant implementation of the method: func picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult]): picker.dismiss(animated: true, completion: nil) for result in results { result.itemProvider.loadFileRepresentation(forTypeIdentifier: UTType.movie.identifier) { (url, error) in if let error = error { print(error) return } guard let url = url else { return } let fileName = (Date().timeIntervalSince1970).(url.pathExtension) let ne
6
0
3.9k
Sep ’20
ESIM: Always taken to unknown state for iOS 14.0, where it work perfect for iOS 13.0
I work for one of the networks. I am able to successful download the eSIM in iPhone for iOS 13.*. Where I was taken to unknown state (CTCellularPlanProvisioningAddPlanResult) in iOS 14.0 always also it prompt the os screen to install eSIM(Set up Mobile Plan) Please let me know why it take to unknown state always and why OS screen popup ?, please let me know if any configuration needed specific for iOS 14.x Also attached the configuration & prototype code for your reference hud.show(animated: true) let plan = CTCellularPlanProvisioning() self.request = CTCellularPlanProvisioningRequest() self.request?.address = // SMDP Address self.request?.matchingID = // Acitvation code. if let validRequest = self.request { weak var weakSelf = self plan.addPlan(with: validRequest) {[weak self] result in self?.hud.hide(animated: true) switch result { case .success: weakSelf?.alertMessageToUser(title: Hurray !..., message: ESIM Downloaded Successfully) print(Successful) case .fail: print(ESIM Download failed, contact you
9
0
5.5k
Sep ’20
Connection to ModelIO Assetloader interrupted
I am working on ARKit4, trying to generate a 3D model from the mesh. I am trying to display the 3D .obj file in SceneKit but the model doesn't show up. I get the following error: 2020-09-25 17:56:32.532137-0700 connection to com.apple.ModelIO.AssetLoader was interrupted 2020-09-25 17:56:32.532201-0700 AssetLoader.loadURL errorHandler: Error Domain=NSCocoaErrorDomain Code=4097 connection to service on pid 0 named com.apple.ModelIO.AssetLoader UserInfo={NSDebugDescription=connection to service on pid 0 named com.apple.ModelIO.AssetLoader} 2020-09-25 17:56:32.535432-0700 Couldn’t communicate with a helper application. Please help me resolve this error.
3
0
1.4k
Sep ’20
Update an Existing Xcode Project Core Data with CloudKit & Manage Multiple Stores
Hi, I have.a project that uses CoreData and I want to add some of the data to iCloud to sync with a Watch app and I ticked the option for the Default configuration to use iCloud and It worked but now I don't want to include images in the cloud because it became too large so I Seperated the images into a different data thing and as per instructions here https://developer.apple.com/documentation/coredata/mirroring_a_core_data_store_with_cloudkit/setting_up_core_data_with_cloudkit I added a configuration Local and Cloud and change the code as below - original lazy var persistentContainer: NSPersistentContainer = { ttlet container = NSPersistentContainer(name: DataModel) ttcontainer.loadPersistentStores(completionHandler: { ttttstoreDescription, error in ttttif let error = error { ttttttprint(Could load data store: (error)) tttt } tt}) ttprint(Loaded data store: DataModel) ttreturn container }() I created two configurations as per the video and ticked use with iCloud on the one I would like to sync with iCloud. n
1
0
1.5k
Sep ’20