Libraries/com.purchasely.unity/Native/IOS/PurchaselyBridge.mm:471:34: error: cannot initialize a parameter of type 'enum PLYAttribute' with an lvalue of type 'int'
[Purchasely setAttribute:attribute value:value];
^~~~~~~~~
Libraries/com.purchasely.unity/Native/IOS/PurchaselyBridge.mm:2:
build/ReleaseForRunning-iphoneos/XCFrameworkIntermediates/Purchasely/Purchasely.framework/Headers/Purchasely-Swift.h:1317:41: note: passing argument to parameter 'attribute' here
+ (void)setAttribute:(enum PLYAttribute)attribute value:(NSString * _Nonnull)value;
^
Libraries/com.purchasely.unity/Native/IOS/PurchaselyBridge.mm:471:50: error: cannot initialize a parameter of type 'NSString * _Nonnull' with an lvalue of type 'const char *'
[Purchasely setAttribute:attribute value:value];
I have fixed this by changing:
TO