rohitjindal1184 / remail-iphone

Automatically exported from code.google.com/p/remail-iphone
0 stars 0 forks source link

Can't compile remail-iphone #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When i build projet (via xCode): 

In file included from ../three20/src/JSON/SBJsonParser.h
error redeclaration of enumerator 'ENUSUPPORTED' previous definition of 
enumerator 'EUNSUPPORTED' was here => SBJSON.h

Original issue reported on code.google.com by redsunso...@gmail.com on 30 Apr 2010 at 7:39

GoogleCodeExporter commented 9 years ago
There are a number of issues right now with the remail not having fully 
migrated to the new modular project 
system that Three20 adopted (remail is still linking to the legacy Three20 
project):

The migration to the new Three20 project style is pretty easy:
http://github.com/facebook/three20/blob/master/Articles/AboutModules.mdown

Basically:
1) Delete Three20 project from remail project
2) Drag in ../three20/src/Three20/Three20.xcodeproj to remail proj
3) In Targets->reMail->Build Tab find Header Search Paths and add 
"../three20/Build/Products/three20"

Then some files will have missing includes:
MailViewController.m:  #import <Three20UI/UIViewAdditions.h>
MailCell.h: #import <Three20UI/UIViewAdditions.h>
StringUtil.m: #import <Three20Core/NSStringAdditions.h>

That's it; updated.

Original comment by martinturon on 18 May 2010 at 2:36

GoogleCodeExporter commented 9 years ago
Thank you very much. This is very good information.

Original comment by GovComm...@gmail.com on 17 Nov 2011 at 2:30

GoogleCodeExporter commented 9 years ago
I've followed those exact steps.. but I'm getting like 15 errors in the 
UIViewAdditions.m file inside the three20UI project.. stuff like unknown type 
name _tapCount; did you mean ItemCount etc etc.. any ideas?

Original comment by abdullah...@gmail.com on 4 Dec 2012 at 9:09

GoogleCodeExporter commented 9 years ago
I am having the same problems abdullah reports above. But note that I did not 
follow any steps regarding Three20. Just try to compile a freshly checked-out 
version. The module layout changes have been taken care of in 629cb4ea9521b, 
right?

Original comment by thilopl...@googlemail.com on 8 Apr 2013 at 1:28

GoogleCodeExporter commented 9 years ago
The problem with UIViewAdditions is detailed here: 
https://github.com/facebook/three20/issues/802  The instructions and patch 
there worked for me.

Original comment by thilopl...@googlemail.com on 8 Apr 2013 at 1:59

GoogleCodeExporter commented 9 years ago
Hi, I have a this problems when try to build, check the image for know about 
the problem, thanks. 

Original comment by roberto....@gmail.com on 10 Apr 2013 at 10:56

Attachments: