Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS - Using Twitter Reverse auth in app which doesn't use ARC

I have an application which doesn't use ARC. Now I want to integrate twitter framework to get access token on authentication in my application. I just received my reverse auth enabled app. I was trying out this example - https://github.com/seancook/TWiOS5ReverseAuthExample which works fine but when I try to integrate it with my project, it gives me bunch of memory issues and BAD_ACCESSes obviously because the code ARC enabled. Is there any way I can use it in my app ?

Thanks and any tip would be much appreciated. Regards

like image 585
nachiket talwalkar Avatar asked Mar 24 '26 02:03

nachiket talwalkar


1 Answers

one thing you can do is just add -fno-objc-arc to the included non-ARC supported file for that just go to the project building phase just as shown in illustration enter image description here

and then just click on the file you want to put the compiler flag above just as shown in illustration

enter image description here

just put flag in popup window

like image 98
The iOSDev Avatar answered Mar 25 '26 17:03

The iOSDev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!