We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#if TARGET_IPHONE_SIMULATOR #include <net/route.h> #else
iOS 11上报错,需要improt方式 #import "Route.h"
#import "Route.h"
The text was updated successfully, but these errors were encountered:
楼主大大快来帮帮忙
Sorry, something went wrong.
check_compile_time改为__Check_Compile_Time,因为在iOS 11里check_compile_time已经弃用了
升级XCode9,在 LDNetGetAddress.m(line 21) 处有头文件的引用问题,代码如下:
#if TARGET_IPHONE_SIMULATOR #include <net/route.h> #else #include "Route.h" #endif /the very same from google-code/
解决方案如下
#if TARGET_IPHONE_SIMULATOR #if __IPHONE_OS_VERSION_MAX_ALLOWED < 110000 //iOS11,用数字不用宏定义的原因是低版本XCode不支持110000的宏定义 #include <net/route.h> #else #include "Route.h" #endif #else #include "Route.h" #endif /the very same from google-code/
No branches or pull requests
#if TARGET_IPHONE_SIMULATOR #include <net/route.h> #else
iOS 11上报错,需要improt方式
#import "Route.h"
The text was updated successfully, but these errors were encountered: