AppsFlyerSDK / appsflyer-react-native-plugin

AppsFlyer plugin for React Native
MIT License
278 stars 198 forks source link

can't archive in IOS #438

Closed LamQuyet closed 1 year ago

LamQuyet commented 1 year ago

my app run in simulator and IOS/android real devices very well but when I want archive Xcode send for me 'Use of undeclared identifier 'AppsFlyerAttribution'. I don't know why. I'm trying fix it but I can't. can you tell me how to fix it? Screen Shot 2022-10-26 at 16 22 34

github-actions[bot] commented 1 year ago

👋 Hi @LamQuyet and Thank you for reaching out to us. In order for us to provide optimal support, please submit a ticket to our support team at support@appsflyer.com. When submitting the ticket, please specify:

amit-kremer93 commented 1 year ago

try to clean project and derived data and then archive again

Eldenn commented 1 year ago

@LamQuyet did you resolve this error ?

LouisKraemer commented 1 year ago

I have the same issue on my build, tried cleaning everything but still having this issue.

Followed the documentation here https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/blob/master/Docs/DeepLink.md

Only difference is that I use the .mm format instead of .m

amit-kremer93 commented 1 year ago

If you are just using AppsFlyerAttribution in your AppDelegate file, you can try and replace the import of RNAppsFlyer with AppsFlyerAttribution like this: #import <RNAppsFlyer.h> -> #import "AppsFlyerAttribution.h"