magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

Cannot build using cocoa pods. Linker error symbol(s) not found for architecture arm64 #1146

Closed sundialsoft closed 8 years ago

sundialsoft commented 8 years ago

I have used MR before but this is my first attempt using Cocoapods. Having installed MR & Cocoapods today I added in some MR code and tried to build. I get 2 errors Undefined symbols for architecture arm64: "_OBJCCLASS$_SavedTimer", referenced from: objc-class-ref in mamasViewController.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have looked at the build active architecture Build Settings & ready many posts online at Stack Overflow etc but I cannot get it to build.

tonyarnold commented 8 years ago

SavedTimer is being used in your mamasViewController class, but neither is a class in MagicalRecord. I assume it's one of yours? That's what is missing.

sundialsoft commented 8 years ago

Thanks for the reply Tony, SavedTimer is the core data entity. Anyway I have managed to get the project to build by using the carthage approach. The instructions are imprecise to say the least but with help from those who have been there before I managed to get it installed & building which is a lot further than I got with Cocoapods.

I have successfully used an earlier version of MR in 2 projects but manually adding the source in does not work anymore.

tonyarnold commented 8 years ago

The instructions are imprecise to say the least

We accept pull requests — documentation is something I don't always make time for, unfortunately. Glad to hear Carthage helped!

sundialsoft commented 8 years ago

Tony the imprecise instructions are mainly Carthage issues not MR's. They do not explain how to create their file. I will do something te docs when I get my current project finished.

Ian

Sent from my iPhone

On 8 Dec 2015, at 20:07, Tony Arnold notifications@github.com wrote:

The instructions are imprecise to say the least

We accept pull requests — documentation is something I don't always make time for, unfortunately. Glad to hear Carthage helped!

— Reply to this email directly or view it on GitHub.

tonyarnold commented 8 years ago

No worries, thanks Ian!