现在的位置: 首页 > 综合 > 正文

solve xcode Undefined symbols for architecture i386:”_OBJC_CLASS_$_SKPSMTPMessage”, referenced from

2013年02月28日 ⁄ 综合 ⁄ 共 468字 ⁄ 字号 评论关闭

1.You can get this type of error if your class' .m file is not listed under the "Compile Sources" step of the "Build Phases" tab of your target. Normally Xcode does this for you, but sometimes it loses the plot and you need to add the .m file manually.
To do this:
TargetSettings -> Build Phases -> Compile Sources -> add your .m class ->Build and Run

2.Sometimes those errors appear because some framework is not linked properly. Just check all frameworks in "Link Binary With Libraries" in project's build-phase tab.

3.framework is same as project.release/debug

抱歉!评论已关闭.