I am trying to use the Reachability function in my application. Now I get several errors in the Reachability.m file. I think it’s due to the new Xcode version (does not allow [release]).
Does anyone have experience in this case?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Reachability is not ARC compliant. You can disable ARC on a per file basis.
Select your project -> target -> Build Phases -> Compile Sources -> Double click the Reachability.m -> add -fno-objc-arc.
Problem solved.