Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Warnings - iOS 12 and above #293

Open
dgwilson opened this issue Dec 29, 2020 · 8 comments
Open

Build Warnings - iOS 12 and above #293

dgwilson opened this issue Dec 29, 2020 · 8 comments

Comments

@dgwilson
Copy link
Contributor

Hi Drew...

I have a bunch of build warnings with Ensembles for iOS. My Deployment target is 12.0. Perhaps it shouldn't be?
Are these planned to be cleaned up?
What's the best way to get these addressed?
I can attempt to offer some assistance if that's the right thing to do?

image

@drewmccormack
Copy link
Owner

drewmccormack commented Dec 29, 2020 via email

@dgwilson
Copy link
Contributor Author

dgwilson commented Dec 29, 2020 via email

@drewmccormack
Copy link
Owner

drewmccormack commented Dec 29, 2020 via email

@dgwilson
Copy link
Contributor Author

dgwilson commented Dec 29, 2020 via email

@drewmccormack
Copy link
Owner

drewmccormack commented Dec 29, 2020 via email

@dgwilson
Copy link
Contributor Author

dgwilson commented Dec 30, 2020

This is weird. I've performed the clone from githib (as previously I'd been downloading... unzipping ...)... deleted the iOS.xcodeproj from my project and dragged in the new one (from the now cloned download)... and deleted and added the ensembles.framework ... and I don't have the warnings I had before. I've check the deployment targets and they are set to iOS 12 for my project and ensembles.
I don't understand why I'm no longer getting the warnings. It's good not to have them though. :-)

... [60 mins later...] and now the warnings are back. Still haven't figured out why... I'mm mask out the warnings now/today.

This is new...
When I run my app... I'm getting a ton of these messages...
[general] 'NSKeyedUnarchiveFromData' should not be used to for un-archiving and will be removed in a future release
And if I've done my breakpoints properly they're coming from CDESaveMonitor.m - line 155.
if (![eventContext save:&error]) CDELog(CDELoggingLevelError, @"Error saving event store: %@", error);

  • David

@dgwilson
Copy link
Contributor Author

OK, I've ignored the warnings for deprecated code.
One warning left to track down.
The compiler is not pointing me to any line of code. I'm assuming the issue is in "CDEPropertyChangeValue" though I can't see what the issue might be.

CDEObjectChange.propertyChangeValues is using a nil or insecure value transformer. Please switch to NSSecureUnarchiveFromDataTransformerName or a custom NSValueTransformer subclass of NSSecureUnarchiveFromDataTransformer [2]

  • David

@dgwilson
Copy link
Contributor Author

Pull Request created.
I've never done that before... hopefully I've been through and done the right things.
I have not addressed "CDEObjectChange.propertyChangeValues is using a nil or insecure value transformer." referenced in the last message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants