Parse API 1.6.4 - 无法构建项目 [英] Parse API 1.6.4 - cannot build project
问题描述
我下载了新的iOS Parse API(1.6.4)并尝试构建我的项目。当我这样做时,我收到此错误:
I downloaded the new iOS Parse API (1.6.4) and tried to build my project. When I do, I get this error:
Undefined symbols for architecture arm64" "_BFTaskMultipleExceptionsException", referenced from:
___53+[PFObject(Private) deleteAllAsync:withSessionToken:]_block_invoke214 in Parse(PFObject.o)
___65+[PFObject(Private) _deepSaveAsync:withCurrentUser:sessionToken:]_block_invoke311 in Parse(PFObject.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
屏幕截图:
Screenshot:
推荐答案
Parse 1.6.4和Facebook SDK 3.23的临时解决方法:
Temporary workaround for Parse 1.6.4 and Facebook SDK 3.23:
在导入之后和实现之前添加到AppDelegate.m或其他类后面的常量部分:
Add to your AppDelegate.m or another class following constant after imports and before implementation section:
NSString *const BFTaskMultipleExceptionsException = @"BFMultipleExceptionsException";
@interface IPAppDelegate ()
@end
@implementation IPAppDelegate
它应该解决问题,直到它在Parse / Facebook方面解决。
It should solve the problem until it'll be solved on Parse/Facebook side.
-
更新:这个解决方案仅适用于上面列出的Facebook和Parse SDK版本,现在这些版本已经过时。
-- Update: This solution is only for Facebook and Parse SDK versions that listed above and these versions right now are outdated.
新的Parse SDK 1.7.4在新的Facebook SDK 4.0中运行正常不应该是这样的问题。
New Parse SDK 1.7.4 works correct with new Facebook SDK 4.0 and there shouldn't be such a problem.
这篇关于Parse API 1.6.4 - 无法构建项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!