2013-11-23 92 views
2

我需要一些帮助。我添加了Parse SDK,并且在测试期间工作正常。当我尝试构建它,它给了我四个“苹果的Mach-O链接”错误:Apple Mach-O链接器错误解析

ld: warning: ignoring file /Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse, missing required architecture arm64 in file /Users/Amirhosein/Downloads/ParsePlatform-PushTutorial-63133fb/iOS/Parse.framework/Parse (3 slices) Undefined symbols for architecture arm64:
"_OBJC_CLASS_$_PFPush", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_PFInstallation", referenced from: objc-class-ref in AppDelegate.o "_OBJC_CLASS_$_Parse", referenced from: objc-class-ref in AppDelegate.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

+0

检查是否添加了parse.framework –

+0

解析框架为arm64工作 – iCode

回答

2

听起来好像你的库是不是64位的iOS建,但你正在尝试使用该设置为您的应用程序。尝试从构建设置中的架构条目中删除arm64。

+0

我不知道你是谁,但我会找到你并且会拥抱你。你让我从头痛中解脱出来。 – Tahir

0

清理代码然后再次构建为我解决问题!