[英]Error compiling in real device but not simulator iOS 8
I'm trying to compile a code using Reachability by Apple. 我正在尝试使用Apple的可达性来编译代码。 Using an iPhone 5s on the simulator works. 在模拟器上使用iPhone 5s是可行的。
But in iOS it's like some libraries are not included in the device. 但是在iOS中,设备中似乎不包含某些库。
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. 看来我用的是6.0 Xcode版本而不是6.0.1。 It works now. 现在可以使用了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.