After I pod installed pod 'AppsFlyerFramework'
in my podfile, I import it for use but after I built, It show this error.
Has anyone seen this issue ?
'AppsFlyerLib/AppsFlyerTracker.h' file not found
1. Did not find header 'AppsFlyerTracker.h' in framework 'AppsFlyerLib' (loaded from '/Users/apples/trueid-ios-music-tunedglobal-appdemo/Pods/AppsFlyerFramework/iOS')
For more info: XCode 11.7, Cocoapod 1.10.0 and I already deintegrate and update my pod.
Update Solution
- According @SophySwicz’s comment, I found an issue about in AppFlyerLib had a new version of sdk to version 6 but My project still use old API name. For solve this issue, You can migrate api to use v6 or downgrade in your pod to version 5 everything should be ok. ( Thank you for help @SophySwicz )
2
Answers
Which version of appsFlyer are you installing?
check the release notes here https://support.appsflyer.com/hc/en-us/articles/115001224823-AppsFlyer-iOS-SDK-release-notes
And this thread is important, it seems that file was renamed hence the issue you’re having:
https://github.com/AppsFlyerSDK/appsflyer-react-native-plugin/issues/181
Appdelegate.h
Appdelegate.m