从AppDelegate.m中的[Parse setApplicationId: clientKey:]
方法调用didFinishLaunchingWithOptions:
时,收到以下错误:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_Parse", referenced from:
objc-class-ref in AppDelegate.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已经包含了Apple Mach-O Linker Error Parse中所述的Parse所需的所有框架。我在AppDelegate.m的顶部有#import <Parse/Parse.h>
。我已经多次清理了构建。可能导致这种情况的任何想法?
答案 0 :(得分:3)
只需检查&#34; Link Binary With Libraries&#34;中的所有框架。在项目的构建阶段选项卡中。