After a few tests, as someone mentioned in the thread, I realized that the error was not occurring on my iPhone 15 Pro running iOS 18.4.
The solution:
-Install Xcode 16.3
-Install iOS 18.4
-Open Xcode 16.2 and launch a simulator with iOS 18.4
P.S.: My project isn't compiling in Xcode 16.3 — that's a problem for future me.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: