Posts

Post not yet marked as solved
2 Replies
3.5k Views
I am trying to set up a simple core data app. But after I create the NSManagedObject subclasses from the Editor menu I get numerous errors that I do not understand.<unknown>:0: error: filename "Fields2+CoreDataClass.swift" used twice: '/Current Projects/Stages/Stages/CoreData/Fields2+CoreDataClass.swift' and '/Users/me/Library/Developer/Xcode/DerivedData/Stages-bvmokbzazpxlmwaxrpiatcooijvt/Build/Intermediates.noindex/Stages.build/Debug-iphoneos/Stages.build/DerivedSources/CoreDataGenerated/Stages/Fields2+CoreDataClass.swift'<unknown>:0: note: filenames are used to distinguish private declarations with the same nameCommand /Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc failed with exit code 1In the extension for Fields2 I get'Fields2' is ambiguous for type lookup in this contextthen I get@NSManaged only allowed on an instance property or method for all of the properties in Fields2Is this a bug? Or am I doing something wrong? What is going on and how do I fix it?
Posted
by russgum.
Last updated
.
Post not yet marked as solved
1 Replies
1.2k Views
When I run the CoreDataCloudKitDemo from:https://developer.apple.com/documentation/coredata/synchronizing_a_local_store_to_the_cloudIt works but I get output in the debug area like:CoreData: CloudKit: CoreData+CloudKit: -[NSCloudKitMirroringDelegate checkAndExecuteNextRequest]_block_invoke(2089): <NSCloudKitMirroringDelegate: 0x282248b00>: Executing: <NSCloudKitMirroringDelegateSetupRequest: 0x281b319b0> 5B0647D2-4D0B-4334-AF22-235A1FD29D032019-10-17 10:33:22.978576-0700 CoreDataCloudKitDemo[523:29722] XPC connection interruptedCoreData: debug: CoreData+CloudKit: -[PFCloudKitMetadataModelMigrator calculateMigrationStepsWithConnection:error:](299): Skipping migration for 'ANSCKDATABASEMETADATA' because it already has a column named 'ZLASTFETCHDATE'This is useful for tracking progress of the app but I have no idea where it comes from and whether I could incorporate any of this output into my app to appear to users to enable them to track the progress of syncing their core data to Cloud Kit.
Posted
by russgum.
Last updated
.
Post marked as solved
1 Replies
2.1k Views
How do you reset the cloud kit data? There does not seem to be a reset option in the dashboard. I am still in the development environment working on an app that uses cloud kit and core data.How do you delete a cloudkit container? I am not able to either delete or add a cloudkit container either from Xcode or the dashboard. So I am having to use containers with names like BabiFud from a tutorial I tried years ago. This is anoying and seems that this problem has been around for years and should be fixed by now. Did the engineer in charge of the dashboard code quit years ago and was not replaced?If I can't delete a container or even hide its name in the Home list at least I should be able to add a new container.
Posted
by russgum.
Last updated
.
Post not yet marked as solved
1 Replies
1.1k Views
I would like to change the text size and font in my table view's section headers. Is there a way to do this in IB or in Swift?
Posted
by russgum.
Last updated
.