KSReachability icon indicating copy to clipboard operation
KSReachability copied to clipboard

No instructions for building and build fails on iOS.

Open azav opened this issue 11 years ago • 3 comments

Trying to do a build on 10.8.3 (Xcode 4.6.2) for iOS and the error of 'KSReachability/KSReachability.h' file not found is the first thing that happens.

How are you able to build your own project with this error?

azav avatar Aug 13 '13 15:08 azav

Which target fails to build? I'm able to build all targets in Xcode 4.6.3 on OSX 10.8.4.

kstenerud avatar Aug 14 '13 07:08 kstenerud

I was building the iOS version.

Any idea why Xcode can't find files within its own project?

azav avatar Aug 14 '13 14:08 azav

I got this problem too. You just need to include KSReachability.h and KSReachability.m to the project by yourself. It is somehow not included in the project. You also have to delete libKSReachability.a and libKSReachabilityMac.a from Frameworks folder in the left nav pane as I see no target in the project to build those files. And change your import to...

//#import <KSReachability/KSReachability.h>
#import "KSReachability.h"

Then it should work.

hlung avatar May 21 '14 05:05 hlung