AppsFlyerSDK / appsflyer-unity-plugin

AppsFlyer Unity Plugin
MIT License
156 stars 64 forks source link

Xcode build error: No visible @interface for 'AppsFlyerLib' declares the selector 'setPluginInfoWith:pluginVersion:additionalParams:' #226

Closed Ned11 closed 1 year ago

Ned11 commented 1 year ago

Xcode version: 14.3.1 AppsFlyer version: 6.10.30 Unity version: 2021.3.16f1

Installed the AF plugin without EDM and manually pasted the iOS SDK files in the project. I noticed the iOS SDK version mentioned here refers to iOS SDK 6.10.1, but when I manually download the iOS SDK from the installation link here, it retrieves the 6.4.4 version and not the 6.10.1 as intended.

When building, Xcode fails and throws an error in the AppsFlyeriOSWrapper file: No visible @interface for 'AppsFlyerLib' declares the selector 'setPluginInfoWith:pluginVersion:additionalParams:'

I assume this error is due to 6.4.4 not containing the new parameter. If not, could someone help me download the 6.10.1 iOS SDK version for Unity or help me solve this issue?

--

Screenshot 2023-07-07 at 22 45 38
af-do commented 1 year ago

Hi @Ned11, Thank you for reaching out to us, this is indeed an issue because the older version you use does not include the function, the links to the dependencies on the Installation page should be now up to date starting with our latest release (6.12.10). If you specifically need version 6.10.1 of the iOS SDK, here is the link.

If the issue persists after the version switch - please submit a ticket to our support team at support@appsflyer.com and they will be able to help you further. When submitting the ticket, please specify:

✅ your AppsFlyer sign-up (account) email ✅ app ID ✅ production steps ✅ logs ✅ code snippets ✅ and any additional relevant information.