magicalpanda/MagicalRecord — Issue #73: Apple Mach-O Linker Error when building the source code
Author: yongweihu
Created: 2011-10-10 03:35:16+00:00
State: open

The error is: Duplicate symbol _ColorFromString.

The fix is to make sure ColorFromString in header file MagicalRecordHelpers.h is extern. Changing the declaration of ColorFromsString to the following will resolve the error.

extern id (*ColorFromString)(NSString *);