I got a project with 49 source files that I'm trying to convert to ARC using edit>refactor>convert to arc. I click "pre-check", there are no errors, and the target compiles.
Xcode goes through "generating preview", compiles all 49 source files, then shows me 1 (or 2) file in the review changes list. This is a .h/.m file. That one appears correct. There are no other files on that list and I see.
When I click save, the window closes, and the project tries to build, but fails with error:
Error in format of file: ...-arc.migrate/remap
These errors appearing in all files
If I try to build the project, i get ~350 errors saying "retain, release not allowed in ARC"... Please help!
How do I convert the entire project to ARC at once?
Update: After cleaning the project a bunch of times and changing the deployment target to iPhone 5 simulator, I was able to see all files in the "save changes" list.
I found a way to answer this question and am posting it here for clarity:
After cleaning the project a bunch of times and changing the deployment target to iPhone 5 simulator, I was able to see all files in the "save changes" list.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With