I am creating an iOS app which uses both ASIHTTPRequest and ShareKit. Both APIs have a Reachability.h and Reachability.m file… thus this is creating a Mach-O duplication error. Is there a special way to avoid this?
Thanks
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.
I had this issue a little while back and figured out an easy fix.
You have two options.
1) If the versions of the two Reachability sets are the same, you could just delete one set. I don’t think you should even have to change any headers.
2) If the versions are different, rename one set of Reachability files something like “MyReachability”. Obviously you will have to clean up all references to the renamed class as well.
Hope that helps!