常见错误解决

一 用SVN遇到的问题

1.Undefined symbols for architecture i386:       

  "_OBJC_CLASS_$_LJLAddress", referenced from:     //LJLAddress是个类

      objc-class-ref in LJLImmediatelyController.o              //LJLImmediatelyController是个类

ld: symbol(s) not found for architecture i386

clang: error: linker command failed with exit code 1 (use -v to see invocation)


解决方法:svn更新时方法有更新下来,但没加入项目文件,只要打开文件夹,把LJLAddress和LJLImmediatelyController类直接拖进项目就可以了