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

New version of Xcode sets iOS minimum deployment target to iOS 12.0 -- deprecation errors #1553

Open
claus-zinn opened this issue Sep 26, 2023 · 1 comment

Comments

@claus-zinn
Copy link

With Xcode Version 15.0 (15A240d), it seems that the iOS minimum deployment target is now set to iOS 12.0. This creates quite a few compilation errors, e.g.,

NSKeyedUnarchiver *unarchiver = [[NSKeyedUnarchiver alloc] initForReadingWithData:data];

fires this error:
'initForReadingWithData:' is deprecated: first deprecated in iOS 12.0 - Use -initForReadingFromData:error: instead

in ORKTaskViewController (line 254).

As a result, I cannot compile my app using ResearchKit using the newest Xcode.

@Pariecemckinney-apple
Copy link
Contributor

Hello @claus-zinn, i’m happy to help out here. It looks like you might be using an older version of ResearchKit. If you look at the commit below you can see that we actually bumped our minimum version to IOS 13.
743b773

We also fixed the issue you mentioned above with this commit:
bd60d94

I would suggest updating ResearchKit so that you’ll have access to these updates. If you need help with that please let me know and we can get it figured out for you? Thanks again for reaching out and I hope the details above were helpful.

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