Xcode 7 - SystemConfiguration / SystemConfiguration.h not found

I know that there is another thread with the same theme ( SystemConfiguration / SystemConfiguration.h file not found ), but I do not have enough reputation to commit these threads. And since Xcode 3 was used, I decided to create a new thread.

I am creating an Apple Watch project on Xcode 6, and now I port it to Xcode 7, Swift 2, and WatchOS 2.

I am using the SDK from apiOmat. And in this SDK they use #import <SystemConfiguration/SystemConfiguration.h>.

I searched the solution online and tried to create a precompiled header, but it does not work for me. Title not found.

I am also trying to reinstall Xcode 7, but this also does not work.

Here you can see my precompiled header:

#ifdef __OBJC__
#define PrefixHeader_pch

#import <SystemConfiguration/SystemConfiguration.h>

#endif

, .

P.S.: Swift 2 .

+4

Source: https://habr.com/ru/post/1610386/


All Articles