Post

Replies

Boosts

Views

Activity

CoreDataCloudKitDemo debug
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.
1
0
1.3k
Oct ’19
error: filename "x+CoreDataClass.swift" used twice:
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?
3
0
3.7k
Feb ’18