Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TestFlight Leak

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?

none

like image 757
adi27 Avatar asked Apr 03 '12 09:04

adi27


1 Answers

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.

like image 124
Ramakrishna Guttha Avatar answered Nov 04 '22 06:11

Ramakrishna Guttha