AppsFlyerSDK / appsflyer-onelink-ios-sample-apps

Onelink ios Apps
31 stars 12 forks source link

waitForATTUserAuthorizationWithTimeoutInterval unrecognized selector sent to instance #14

Open meanreaksmey opened 1 year ago

meanreaksmey commented 1 year ago

https://github.com/AppsFlyerSDK/appsflyer-onelink-ios-sample-apps/blob/7c58363b01a184863d3b3fc07ba707a72d76bcda/swift/basic_app/basic_app/AppDelegate.swift#L37 hi could you help check why after I add AppsFlyerLib.shared().waitForATTUserAuthorization(timeoutInterval: 60) I got error: -[AppsFlyerLib waitForATTUserAuthorizationWithTimeoutInterval:]: unrecognized selector sent to instance 0x12bd0c580

Screenshot 2023-05-18 at 10 34 25 AM
rocketdigitalai commented 1 year ago

I have the same problem. How to fix it?

liaz-af commented 1 year ago

https://github.com/AppsFlyerSDK/appsflyer-onelink-ios-sample-apps/blob/7c58363b01a184863d3b3fc07ba707a72d76bcda/swift/basic_app/basic_app/AppDelegate.swift#L37

hi could you help check why after I add AppsFlyerLib.shared().waitForATTUserAuthorization(timeoutInterval: 60) I got error: -[AppsFlyerLib waitForATTUserAuthorizationWithTimeoutInterval:]: unrecognized selector sent to instance 0x12bd0c580

Screenshot 2023-05-18 at 10 34 25 AM

Can you pls share more of your SDK init code? Thanks