Hey,
I'm working on a new multi-platform application, and part of the application requires a calendar. I've created Day, Week, and Month calendar and they are all working as expected on Mac/iPhone and iPad.
So I decided that I would make them a Library/Package and share with the community.
I created a package project, moved all the working code into it, and then added the package into my project as a local dependency. Now I'm getting lots of errors in the package code about everything is only available in macOS 10.15.
It's not the code as I know it works. I have
platforms: [ .macOS(.v10_14), .iOS(.v15) ]
This is my first attempt at a package. Is there something I'm not doing?
Thanks,
Mark
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
Hey,
I have an iOS/watchOS application that has been in the App Store since the beginning of last year (for reference: https://endsplus.com). Part of the functionality includes:
Create a Fixture on the Phone
Create Fixture on iOs
Fixture is saved to Core Data
Core Data syncs with CloudKit
WatchOs pulls down the record, updating a table of the same name
I can show the Fixtures on the Watch.
Track a game on the Watch and then save it.
Create a Game on WatchOS
Game is saved to Core Data
Core Data syncs with CloudKit
iOS pulls down the record, updating a table of the same name
I can show the games on the phone.
For reasons I am unable to work out syncing of core data tables between the phone and the watch has stopped working.
I know that the iOS coredata/cloudkit functionality is working as I can create a record on my physical phone, then run a simulator and log in with the same iCloud account and see the record.
But the functionality has stopped working for watchOS. I have added a new table to the Watch side that is not syncing to the Phone, but an existing table (Fixture) that has been working has also stopped syncing between the phone and the watch.
None of my Persistence/Core Data code has changed. My new table is associated with a Cloud Store, the same as my old table is.
What options are they available to me to try and debug this. The watchOs simulator doesn't seem to work with CloudKit, telling me it is not signed in.
I've tried looking at the CloudKit database logs, but obviously for security I can't see the data, but I can't see any errors from the watch.
I've uninstalled and re-installed the application (on the phone and the watch) numerous times, but that isn't working.
Does anyone have any ideas?
Thanks
Hi,
I have created a reusable NSView (backed by a .xib file) that I add twice to a storyboard by adding CustomView object and changing the name of the class.
When I run the code from inside Xcode (on both intel and m1 macs) the code runs as expected.
When I create a binary (via Project Archive) the code crashes when it tries to load the Storyboard with the error:
Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSSlider 0x7fc5c740d8e0 has reached dealloc but still has a super view. Super views strongly reference their children, so this is being over-released, or has been over-released in the past.'
I have split the code out of the main project into a test project to see if the problem still occurred and it does. So it must have something to do with my implementation.
I understand what the error means, but as it works in Xcode I'm not sure how to go about trying to resolve this.
Can anyone provide some guidance as to how to fix this?
Thanks
Test project code is here : https://github.com/githublemming/BugCode