How to handle "function calls to 'x' are not supported" in swift?

Example:

@propertyWrapper
struct Example {
    var wrappedValue: Int
}
let test = Example()
This error is typically seen when you try to directly instantiate or call a property wrapper.

Solution:

// Use the property wrapper appropriately with a property
struct SomeStruct {
    @Example var someProperty: Int
}
let s = SomeStruct(someProperty: 5)

Beginner's Guide to Swift