I'm trying to log some events in my iOS application using the Facebook Analytics SDK.
First, I logged an event and this works well:
FBSDKAppEvents.logEvent(FBSDKAppEventNameInitiatedCheckout, valueToSum: price, parameters: parameters)
Then I tried to log the next one:
FBSDKAppEvents.logEvent(FBSDKAppEventNamePurchased, valueToSum: price, parameters: parameters)
And Xcode says that there is no such identifier named FBSDKAppEventNamePurchased
.
I dived into the Facebook documentation and recognized that it exists:
So, I really have not idea what hell is going on. Does anybody had the same issue?