AppsFlyerFramework icon indicating copy to clipboard operation
AppsFlyerFramework copied to clipboard

App not building due to Double-quoted include in framework header

Open JavierSilvaFreeNow opened this issue 4 years ago • 8 comments

Report

SDK Version

6.1.4

What did you do?

Migrated the framework from Cocoapods to SPM

What did you expect to happen?

App to build successfully

What happened instead?

App fails to build due to "Double-quoted include" warning in AppsFlyerLib.h and AppsFlyerShareInviteHelper.h

Please provide any other relevant information.

We have the "Treat Warnings as Errors" setting enabled to prevent warnings from being unattended on our project. Unfortunately this also means that the warnings caused by the library are also treated as errors, which makes the build process fail.

JavierSilvaFreeNow avatar Jan 21 '21 08:01 JavierSilvaFreeNow

Any information or progress on this issue?

rlziii avatar Oct 11 '21 20:10 rlziii

This warning seems to have manifested backwards (at least within Xcode 13): instead of changing the headers in AppsFlyerLib.h or AppsFlyerShareInviteHelper.h to make the warnings disappear, I was able to change a header of my own from #import <AppsFlyerLib/AppsFlyerLib.h> to #import "AppsFlyerLib/AppsFlyerLib.h" to make the warnings go away. Strangely Xcode was showing the warnings within AppsFlyerFramework and not within my app so this solution wasn't very clear. 🤷‍♂️

rlziii avatar Oct 13 '21 15:10 rlziii

Would also like to see a fix for this. (Also, hi @rlziii !)

SeanMcTex avatar Nov 23 '21 20:11 SeanMcTex

Can confirm that we are still seeing these warnings on the latest version of Xcode (13.1).

(👋 @SeanMcTex 👋)

rlziii avatar Nov 23 '21 20:11 rlziii

Also getting those warnings for a long time already and would really appreciate if they could get fixed @andr-ggn. We are on 6.5.0.

mathaeus avatar Jan 04 '22 13:01 mathaeus

Any chance these could be fixed?

leearmstrong avatar May 06 '22 14:05 leearmstrong

Any update?

leearmstrong avatar Aug 17 '22 09:08 leearmstrong

The fix will come with v6.9.0 (next release)

af-fess avatar Aug 18 '22 13:08 af-fess

Possible duplicate of https://github.com/AppsFlyerSDK/AppsFlyerFramework/issues/203

af-fess avatar Jan 05 '23 09:01 af-fess