#15 new
John Wang

CoreResource Fails to Build for iOS 4.0+

Reported by John Wang | August 17th, 2010 @ 09:25 PM

When building the examples and CoreResource in general, it fails to build on iOS 4.0+

Build Result messages: "OBJC_CLASS$_CoreJSONDeserializer", referenced from:

  objc-class-ref-to-CoreJSONDeserializer in CoreResource.o

"OBJC_CLASS$_CoreJSONDeserializer", referenced from:

  objc-class-ref-to-CoreJSONDeserializer in CoreResource.o

"_descendingSort", referenced from:

  _descendingSort$non_lazy_ptr in NSMutableArray+Core.o
 (maybe you meant: _descendingSort$non_lazy_ptr)

"_ascendingSort", referenced from:

  _ascendingSort$non_lazy_ptr in NSMutableArray+Core.o
 (maybe you meant: _ascendingSort$non_lazy_ptr)

ld: symbol(s) not found

Lines causing the problem seems to be:
- (void) sortUsingKey:(id)key ascending:(BOOL)ascending {

[self sortUsingFunction:ascending ? ascendingSort : descendingSort context:key];

}

And also a failure to include CoreDeserializer.h and .m into examples.

Comments and changes to this ticket

  • Marco Sehrer

    Marco Sehrer September 27th, 2010 @ 12:22 PM

    is there any developing going on for this project?
    i can't see any tickets resolved since 6 month ago ..
    but hope I'm wrong!!

  • mklaurence (at gmail)

    mklaurence (at gmail) September 27th, 2010 @ 11:14 PM

    Regretfully, there hasn't been much. I had a couple of short bursts, but kept getting pulled back into unrelated client work.

    I'm nearing the end of my 4-month project... I'm hoping to get back to CR in the next few weeks, as it's necessary for a couple of apps I'm working on. I've said that before, though... :-)

  • Chad Podoski

    Chad Podoski December 1st, 2010 @ 12:42 AM

    • Assigned user cleared.

    It looks like the Twitter example failed to build in iOS 4.2 because NSArray+Core was not included in the project. The Lighthouse example built and ran fine for me though. To fix this problem with the Twitter example, just drag and drop NSArray+Core.(h|m) into the appropriate spot in the source Group Tree in the Twitter example proj (You don't need to copy in place when it prompts you but make sure it is added to the Twitter target).

    Note: You could usually just add NSArray+Core.(h|m) to the proj via the standard 'Add Existing Files' approach but for some reason, the Twitter example proj already thought they were included. Hence, the drag/drop approach from the other proj.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Local & remote resource management library for Objective-C using Core Data with Rails-like syntax. WARNING: The API is currently under heavy development and will undoubtedly change.

Shared Ticket Bins

Pages