How to solve Xcode error message: Undefined symbols for architecture i386?