Parse API 1.6.4 - 无法构建项目 [英] Parse API 1.6.4 - cannot build project

查看:27
本文介绍了Parse API 1.6.4 - 无法构建项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我下载了新的 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)

截图:

推荐答案

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆