0
votes

I use the function Xcode provided to convert a MRC project to ARC. Edit -> Convert -> To Objective-C ARC. After check, it said "No source changes necessary". But after click update, I tried to build the app and received lot of errors. All of the errors are about release, autorelease. And I also notice the properties dose not change retain, assign to strong or weak. Should I change my code manually in order to convert to ARC or I miss some steps during migration?

1

1 Answers

0
votes

just add "-fno-objc-arc" in BuildPhase -- >compile Source ---> double click the errored file ---> box will poped up --> paste the "- fno-objc-arc".

I hope it will work..

I have attached the image FYR enter image description here