Skip to content
New issue

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

项目运行错误 #11

Closed
myworldhere opened this issue Oct 23, 2017 · 1 comment
Closed

项目运行错误 #11

myworldhere opened this issue Oct 23, 2017 · 1 comment

Comments

@myworldhere
Copy link

首先,pod完后运行,AFImageDownloader.h 文件找不到,发现是因为目前pod install 会更新AFN3.1.0版本,这个版本应该是没有AFImageDownloader这个类了。所有我把pod 'AFNetworking', '~>3.0' 改成了'AFNetworking', '3.0'指定更新3.0版本。不再提示找不到AFImageDownloader.h文件了。但是又出现了新的问题,RealReachability库里的 PingFoundation.h 类中
check_compile_time(sizeof(ICMPHeader) == 8);
check_compile_time(offsetof(ICMPHeader, type) == 0);
check_compile_time(offsetof(ICMPHeader, code) == 1);
check_compile_time(offsetof(ICMPHeader, checksum) == 2);
check_compile_time(offsetof(ICMPHeader, identifier) == 4);
check_compile_time(offsetof(ICMPHeader, sequenceNumber) == 6);
这几个调用 提示 提示 Expected parameter declarator, 问题指向这里offsetof

@wujunyang
Copy link
Owner

我刚把pod对应的插件更新了 本地没有问题 你们可以尝试一下;感谢关注

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants