Usually I write programs without the ARC but I have inherited an application that was written by someone else who used ARC. I need to add MBProgressHUD to it, but anytime I do I get all kinds of release build errors. My question is, is there an alternative to MBProgressHUD or any way to get it to work with ARC?
Asked
Active
Viewed 1,104 times
0
-
2What errors are you getting? `MBProgressHUD` works perfectly for me under ARC just by passing the `-fno-objc-arc` compiler flag to `MBProgressHUD.m`. – Nov 28 '11 at 01:02
-
@ChriseDoble How did you implement it, I am having problems getting it to work. http://stackoverflow.com/questions/8290717/storyboard-ios-mbprogresshud – ios85 Nov 28 '11 at 02:10
1 Answers
1
Just turn off ARC for MBProgressHUD .h/.m in Xcode. Even though the developer has not contributed to the project recently, I imagine most libraries like this will not see ARC-compatibility in future.

Community
- 1
- 1

Alan Zeino
- 4,406
- 2
- 23
- 30