Closed abc123s closed 7 years ago
Unfortunately, CareKit is only supported with iOS 9.0 and onwards. However, weak-linking should work if set up properly. It seems that since CareKit references the Contacts.framework, it might be worth trying to add the Contacts.framework to your project and see if that resolves the issue.
I would also recommend debugging on a device and see if the issues reproduces.
Thanks for the advice - that did it!
For anyone else who stumbles upon this in the future, in addition to adding (weak-linking) Contacts.framework, it seems that you also need to add CoreFoundation.framework too.
666
I know that CareKit requires a base SDK version of 9.0; however, I'd like to make my app compatible with 8.X and use some CareKit features only if the user has a suitable OS.
I've tried weak-linking to CareKit as described in the Apple Developer documentation here by:
(1) Removing CareKit.framework from the list of embedded binar (2) Adding a
-weak_framework CareKit
tag to myOther Linker Flags
under build settings.However, in an iPhone 6 simulator running iOS 8.1, I still get the below error:
Is this an issue with the simulator specifically? Is there another way to use CareKit while otherwise making my app compatible with 8.X?