编译remail-iphone项目报错 Undefined symbols for architecture armv7 ImapFolderWorker fetchFrom
2013-02-25 14:36
387 查看
现象:
Undefined symbols for architecture armv7:
"_IfTrue_RaiseException", referenced from:
-[ImapFolderWorker fetchFrom:to:seqDelta:syncingNew:progressOffset:progressTotal:alreadySynced:] in ImapFolderWorker.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的解决方法:屏蔽类ImapFolderWorker 的代码行,共两行:IfTrue_RaiseException(err != 0, CTUnknownError, [NSString stringWithFormat:@"Error number: %i", err]);
但这样做只是可以保证编译通过,可以正常run,登录邮箱账号,但不能收邮件,彻底的解决方法:使用与remail相兼容的MailCore版本,见作者原话,如下
原因:见作者在google group 的解释
https://groups.google.com/forum/?fromgroups=#!topic/remail-iphone/SmnEeX9N6As
Hi!
I'm the author of MailCore. I recently made some changes that broke compatibility with Remail, sorry about that :(
Unfortunately it was something I had to do to improve the MailCore API.
For now use this revision of Mailcore to build against Remail, it should still work: https://github.com/mronge/MailCore/commit/7c13b7b9518e0bc2cdd86e092245e0e05afa0239
Eventually I'd like to get Remail working with the latest but I have not had a chance to do so.
Matt
解决:编译错误及不能收邮件的问题: https://groups.google.com/forum/?fromgroups=#!topic/remail-iphone/SmnEeX9N6As 使用修改前的MailCore版本
https://github.com/mronge/MailCore/tree/7c13b7b9518e0bc2cdd86e092245e0e05afa0239
截图:
大功告成,可以下载邮件了,见截图。
如需要整合后的项目,包括:remail-iphone, mailcore, tree20 ,请关注我的新浪微博@Winters_huang ,稍后我会将所有项目提交到Github主页。如需要请微博@我
Undefined symbols for architecture armv7:
"_IfTrue_RaiseException", referenced from:
-[ImapFolderWorker fetchFrom:to:seqDelta:syncingNew:progressOffset:progressTotal:alreadySynced:] in ImapFolderWorker.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的解决方法:屏蔽类ImapFolderWorker 的代码行,共两行:IfTrue_RaiseException(err != 0, CTUnknownError, [NSString stringWithFormat:@"Error number: %i", err]);
但这样做只是可以保证编译通过,可以正常run,登录邮箱账号,但不能收邮件,彻底的解决方法:使用与remail相兼容的MailCore版本,见作者原话,如下
原因:见作者在google group 的解释
https://groups.google.com/forum/?fromgroups=#!topic/remail-iphone/SmnEeX9N6As
Hi!
I'm the author of MailCore. I recently made some changes that broke compatibility with Remail, sorry about that :(
Unfortunately it was something I had to do to improve the MailCore API.
For now use this revision of Mailcore to build against Remail, it should still work: https://github.com/mronge/MailCore/commit/7c13b7b9518e0bc2cdd86e092245e0e05afa0239
Eventually I'd like to get Remail working with the latest but I have not had a chance to do so.
Matt
解决:编译错误及不能收邮件的问题: https://groups.google.com/forum/?fromgroups=#!topic/remail-iphone/SmnEeX9N6As 使用修改前的MailCore版本
https://github.com/mronge/MailCore/tree/7c13b7b9518e0bc2cdd86e092245e0e05afa0239
截图:
大功告成,可以下载邮件了,见截图。
如需要整合后的项目,包括:remail-iphone, mailcore, tree20 ,请关注我的新浪微博@Winters_huang ,稍后我会将所有项目提交到Github主页。如需要请微博@我
相关文章推荐
- 关于java项目 Source Folder编译后的路径问题(类加载路径问题)
- 安装asp.net mvc4后mvc3项目编译报错
- [置顶] 编译Android项目的时候报错Unable to execute dex: java.nio.BufferOverflowException. 解决方案
- netbeans运行项目时,弹出“cannot be run from folder that contains non-ASCII characters in path”的对话框 解决方法
- 使用ec编译cocos项目是出现Android.mk文件报错Are you sure your NDK_MODULE_PATH variable is properly defined 的解决办法
- Maven编译HADOOP的common项目报错 。。。exec (compile-proto)。。。
- 常见错误tomcat部署项目报错There are no resources that can be added or removed from the server
- iphone development NSBundle pathForResource load images from subfolder problem
- Eclipse Juno下编译Android程序问题——"dx.jar was not loaded from the SDK folder"和"Multiple dex files define"
- 让同一iphone项目能编译两个版本--正式版、lite版
- 【COCOS2DX-LUA 脚本开发之十三】解决lua项目编译Android出现get data from file failed以及路径等问题
- Spring编译AOP项目报错
- Android Studio导入Fresco项目编译报错unable to expand TAR 'imagepipeline\build\downloads\libjpeg-turbo-1.3.1.tar.gz'解决
- [置顶] 【Android】AndroidStudio导入别人的项目报错。编译通过,无法运行解决方案
- Android Studio导入Fresco项目编译报错unable to expand TAR 'imagepipeline\build\downloads\libjpeg-turbo-1.3.1.tar.gz'解决
- 项目编译不通过,import org.apache.http.HttpResponse; 报错
- maven项目编译报错
- 【COCOS2DX-LUA 脚本开发之十三】解决lua项目编译Android出现get data from file failed、Cocos2dxActivity cannot be 路径等问题 .
- python-2.7.6 编译 node_gyp_header_files_for_hex_1.1.6_1621_windows32 库进行生成C++项目为什么报错,是缺少什么东西么。
- Maven编译项目报错:某些类找不到符号