I'm trying to develop a KMP library and I'm not able to use @Volatile and synchronized for iOS source set.
For @Volatile, the error is: Declaration annotated with '@OptionalExpectation' can only be used in common module sources
and, for synchronized, the error is: Unresolved reference: synchronized
How should I solve this issue?