3

Google Analytics was working fine in below version of Xcode 7 but after updating to Xcode 7 getting clang error.

I did these steps to add GA library :

1.

Added Google Analytics in the Xcode folder having name Google Analytics enter image description here

  1. Added libGoogleAnalyticsServices.a into this folder as well as added in Build phase in Link Library by referencing libGoogleAnalyticsServices.a from the xcode folder (inside the Google Analytics .a file is added by selecting add other )

Works Fine .

But the strange thing happening , whenever i quit Xcode and again open libGoogleAnalyticsServices.a is showing in this build phase link library . But now there is Clang Error :

enter image description here

**Note - Bitcode setting to No (Since current library doesn't support bitcode so Bitcode setting to No in Xcode setting )

Appreciate your help !

Shobhakar Tiwari
  • 7,862
  • 4
  • 36
  • 71

1 Answers1

0

Finally , after so much RND issue Solved.

Target & Project setting Header Search Path added these entries . Here is Snapshot :

enter image description here

Shobhakar Tiwari
  • 7,862
  • 4
  • 36
  • 71