I am trying to migrate my app which was initially developed in iOS 4.3 to iOS 5. All the third party code is being migrated with Xcode's refactor tool. But it doesn't convert the code and shows a lot of errors with the third party files like ShareKit and ASIHTTPRequest. Can anyone help out?
Asked
Active
Viewed 1,410 times
1 Answers
3
When you convert just unstick the third-party files that are causing you problem. Because ARC is still reference counting you are able to mix ARC and non-ARC files in the same project.

hypercrypt
- 15,389
- 6
- 48
- 59
-
thanks, i figured it out. i used a flag in the compiled files for all the third party implementation files. – Saleh Oct 17 '11 at 06:37
-
2Which is the procedure to unstick third-party files? Thanks a lot! – Matteo Alessani Oct 17 '11 at 15:35
-
This is the flag: -fno-objc-arc. You have to replace -fobjc-arc (which enables ARC) with -fno-objc-arc. Just search the documentation for the flag, there's a screenshot ... – wolfrevo Oct 20 '11 at 17:43
-
I'm still getting a ton of warnings, are you getting a lot of warnings? – Buyin Brian Oct 25 '11 at 15:13