TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Switch from AggregateDictionary to Core Analytics

Forums > SwiftUI

Hi everyone, I'm new to Swift and programming in general. I'm currently teaching myself because I've found it fun. I have made a small app as a learning project and am currently encountering an error message to which I cannot find a solution. I have looked through some tutorials for the app and tried to adapt the code. That worked quite well. I have a few small error messages in the app that I would now like to get to the bottom of. In the new Xcode version, the following error message appears in the console when the app is started:

AggregateDictionary is deprecated and has been removed. Please migrate to Core Analytics.

Apparently I'm using outdated code somewhere, but I can't find it. When I use the full text search, I can't find anywhere that uses AggregareDictionary. What could be the problem? How do I fix the error? Thank you for your support.

2      

I have this problem too/this error message. I could post code of my app if it will help...

2      

I do not have a quite answer for this. It happens to me when I test using my physical device, my iPhone for instance; when I test an App using simulators, iphone or ipad simulators, I do not get such warning/error. It could be a clue. Actually, I submitted my last App with this error and it was approved by Apple.

2      

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.