Posts

Post not yet marked as solved
3 Replies
0 Views
I am seeing the same think, and am running Xcode 13.2 Beta.
Post not yet marked as solved
84 Replies
0 Views
Same issue upgrading 11.2 Beta :( Stuck preparing for upgrade at 15 minutes.
Post marked as solved
2 Replies
0 Views
This happened with me. The project was named (by me) DeleteSoon. When running, it was looking for model file DeleteSoon.xcdatamodeld, but the model file created by Xcode was name Shared.xcdatamodeld. Changed the name from Shared to DeleteSoon and it now runs ok.
Post not yet marked as solved
20 Replies
0 Views
I am seeing very similar results but without catalyst. I have similar mac and iOS apps - created separately and not using Catalyst. If I make changes on the iPad, they appear almost immediately on the iPhone but take several minutes to appear on the mac. Changes made on the mac appear on the iOS devices in seconds.Did you ever make any progress with this?
Post not yet marked as solved
20 Replies
0 Views
I tried the idea of adding a bool to each entity and toggling it, resulting in it getting written to CloudKit. This would work ok if the 2nd device started with no entities. In my case, the 2 devices each start with the same entities (via an earlier sync using a different method - dropbox). The result is then duplication of all of the entities as each device causes all of the entities to get written to CloudKit.
Post not yet marked as solved
3 Replies
0 Views
I'm having the same problem - and had tried the same steps already. Did you ever find a solution?
Post not yet marked as solved
5 Replies
0 Views
Yes thanks for that. I think the code is very similar and should port across ok. However, in doing so, I get the error message I showed earlier ([Accounts] Failed to update account with identifier 78C338E9-BFAF-431E-AC68-9115BAAAC162, error: Error Domain=ABAddressBookErrorDomain Code=1002 "(null)" ) I don't know if this is a problem with my code (probably) or what? So I would just like to run some supposedly working macOS code for this to make sure it will work with my setup.
Post not yet marked as solved
5 Replies
0 Views
I am having several problems, so was just hoping to see a working project. For example:trying yo access the Contacts within Groups in my mac’s Contacts.My code is like this: ```let keysToFetch = [CNContactGivenNameKey, CNContactFamilyNameKey] let groups = try contactStore.groups(matching: nil) for group in groups { let groupPredicate = CNContact.predicateForContactsInGroup(withIdentifier: group.name) let contacts = try contactStore.unifiedContacts(matching: groupPredicate, keysToFetch: keysToFetch as [CNKeyDescriptor])```When I run this, it finds the groups correctly, but contacts is empty for each group. Several seconds later I see the following message in the console:*2018-03-11 14:32:00.049001+0000 ContactMess[3763:617682] [Accounts] Failed to update account with identifier 78C338E9-BFAF-431E-AC68-9115BAAAC162, error: Error Domain=ABAddressBookErrorDomain Code=1002 "(null)”*
Post not yet marked as solved
1 Replies
0 Views
I saw else where a way to reset privacy settings - sudo tccutil reset AddressBook. When I did this, and reran, it correctly found .notDetermined.
Post marked as solved
7 Replies
0 Views
Actually, although this seemed to work e.g. I could add items and delete them from the table, I notice a problem when looking in the debug console.When I delete a table entry, I see:[0, 1]2018-02-28 14:05:37.900499+0000 CardLists[24219:2320802] [error] error: NSFetchedResultsController: no object at index 18446744073709551615 in section at index 0Note, the [0, 1] is what I get with a debug message just before the removeRows ( print (indexPath.debugDescription))
Post marked as solved
7 Replies
0 Views
Tried this out today - works well 🙂 Thanks very much for your help.
Post marked as solved
7 Replies
0 Views
Sorry - hadn't seen your reply until just now. I won't be able to check this out until tomorrow. So it looks like instead of indexPath.row you use indexPath.item??Thanks for your help.
Post marked as solved
7 Replies
0 Views
Thanks for the reply. I had tried that, but it doesn't compile. ( Value of type 'IndexPath' has no member 'row' )