简体   繁体   中英

_OBJC_CLASS_$_SBJsonParser referenced from: error

I am getting below error when I try to compile my project in Xcode.

Undefined symbols for architecture i386: _OBJC_CLASS_$_SBJsonParser referenced from: …

I tried following but still the problem persists? Appreciate any help.

  1. Removed " NSObject+SBJSON.m " and " NSString+SBJSON.m " files and added back to Compile sources of Build Phases.
  2. Added i386 for Valid Architecures in Build Settings.
  3. Tried with -all_load linker flag

确保将SBJsonWriter.m,SBJsonParser.m和SBJsonBase.m添加到目标的Compile Sources构建阶段。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM