简体   繁体   中英

Error compiling in real device but not simulator iOS 8

I'm trying to compile a code using Reachability by Apple. Using an iPhone 5s on the simulator works.

But in iOS it's like some libraries are not included in the device.

It tells me that:

/Users/rebouhaymen/Desktop/Projets/UrBike/UrBike/UrBike/UrBike-Bridging-Header.h:6:9: note: in file included from /Users/rebouhaymen/Desktop/Projets/UrBike/UrBike/UrBike/UrBike-Bridging-Header.h:6:
#import "Reachability.h"
        ^
/Users/rebouhaymen/Desktop/Projets/UrBike/UrBike/UrBike/Tools/Reachability/Reachability.h:49:9: error: 'SystemConfiguration/SystemConfiguration.h' file not found
#import <SystemConfiguration/SystemConfiguration.h>
        ^
<unknown>:0: error: failed to import bridging header '/Users/rebouhaymen/Desktop/Projets/UrBike/UrBike/UrBike/UrBike-Bridging-Header.h'

Resolved . It seems I used 6.0 Xcode version instead 6.0.1. It works now.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM