-
Notifications
You must be signed in to change notification settings - Fork 50
errors building on XCode 5.1 #55
Comments
I will check this asap, thank you. |
Hi, i ran into the same problem with XCode 5 and MacOS Maverick 10.9. I solved it by adding the Foundation framework as target link dependency of the ActiveRecord lib project and add the follwoing includes to IColumnInternat.h #include <cstring>
#include <memory>
#import <Foundation/NSString.h> Since i don't know wether it makes sense to add the framework to a static lib, i did not create a pull request. |
Hmm, i hope to have this one fixed, but unfortunately a linking problem appeared saying: Undefined symbols for architecture i386: i double checked the virtual methods of AR::NSNumberColumn are implemented within the iActiveRecord source. Any ideas what could possibly the reason for this ? |
Hello, guys. I've added small fix, and now it works on my machine as well. |
Hi, i tested it with building my own application and integrating the generated framework (not via podfile). It turns out that nothing changed for me. I still get the error above when i try to link my project. In contrast, you active twitter example compiles and works well. |
It's quite strange. |
Yeah, i noticed that an tried to use the podfile that is included within the project. At least this compiling now. Now i got another issue. This could originate from my code. that is the runtime exception i get: exception 'NSInvalidArgumentException', reason: '-[Topic setDescription:]: unrecognized selector sent to instance 0xa124b10' Topic is defined as #import <ActiveRecord/ActiveRecord.h>
@class Contact;
@class ContactGroup;
@interface Topic : ActiveRecord
@property NSString* title;
@property NSString* description;
has_many_through_dec(Contact, ContactGroup, contactGroups, ARDependencyNullify)
@end
and implemented like this: @implementation Topic
@dynamic description;
@dynamic title;
has_many_through_imp(Contact, ContactGroup, contactGroups, ARDependencyDestroy)
@end
is there maybe any kind of initialization i have to run on application startup ? or is this done automagically ? |
Yep, you should add initialization somewhere (applicationDidFinishLaunching the best point), just review the ActiveTwitter target. |
This, in connection with the usage of the podspec file seems to work. Thanks a lot for your help. |
Hi, i'm having a series of issues (see image attached) trying to build the framework on XCode 5.1.
Have you managed to build for ios7/code 5 or is it still on the run?
Thanx
![schermata 2013-10-31 alle 13 46 06](https://camo.githubusercontent.com/7e059af3ba7bd9b660ecce1bc8abfa77ef649b81808e9933f58bdba81e8925fe/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f333139373630342f313434353832332f31666238313762652d343232622d313165332d396135382d3965343534393436303964652e706e67)
G.
The text was updated successfully, but these errors were encountered: