Implementing the Xcode ARC Conversion Tool

I am running the ARC conversion tool for the first time. I followed the instructions and dealt with all the / erros problems in my files that the conversion tool finds before it starts working. I also have some third-party libraries that I told ARC to skip by unchecking them in the Targets to Convert dialog box. After starting the tool, it shows me a report of all changed files, but the files were not changed. Then I save and try to build the project just to find that I have almost 1000 build errors due to all the save and release calls in my project. I understand that the conversion tool should delete all calls to save, release and autostart, but this does not apply to me.

Has anyone encountered this problem before, and if so, how did you solve it? Or is it my responsibility to delete all saved and released from my application? If so, I'm not sure what the meaning of the conversion tool is. Please inform.

Thank you in advance

+4
source share
2 answers

I'm going to try this on my own rather large project, so I can come back with a lot of questions, but I found this that might help: http://meandmark.com/blog/2011/11/xcode-4-2- convert-to-arc-troubleshooting /

Do you use GIT repositories for your code? It cannot be converted due to the described snapshot problem.

+6
source

This works better if you allow it to continue building if errors occur (Preferences - General). However, not all files are completely or completely modified. But a few regulars will do the dirty work.

find-replace-window

In case someone wants to copy and paste;

\[([\[\w\s\]]+) autorelease\] 
+3
source

All Articles