I integrated testflight sdk in the app to collect analytics and I am getting a leak which points somewhere in the code written in the files I imported to integrate the sdk.
Attached is the screen showing the information about the leak.
Any advise?
I integrated testflight sdk in the app to collect analytics and I am getting a leak which points somewhere in the code written in the files I imported to integrate the sdk.
Attached is the screen showing the information about the leak.
Any advise?
Keep the testflight integration code with in debug constant so that it will not leak in when your App is online. this may help you only when your app need to collect the analytics data while testing or dev stage.
#ifndef DeBUG
// integration code here
#endif
Note: you need to make sure the per-processor macro is added in the build settings for debug configuration.
TestFlight has just released SDK v1.3.0-beta2.
In this version the memory leak seems to be resolved.
You can get it here:
https://testflightapp.com/sdk/download/
For CocoaPods users, I've submitted a new podspec for this version.