iOS FacebookSDK +解析SDK + GoogleMaps SDK [英] iOS FacebookSDK + Parse SDK + GoogleMaps SDK

查看:167
本文介绍了iOS FacebookSDK +解析SDK + GoogleMaps SDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了很多搜索,然后发现,GoogleMapSDK要求的-ObjC标志在ParseSDKFacebookSDK上不能很好地发挥作用.因此,我阅读了所有stackoverflow答案,并尝试解决了我的问题.问题尚未解决.

I searched a lot and I realized, -ObjC flag that GoogleMapSDK requires, doesn't play well with ParseSDK and FacebookSDK. So I read on all the stackoverflow answers and tried solving my problem. The problem isn't fixed yet.

我执行的步骤:

  • 问题1 :解析不适用于-ObjC
  • 解决方案1 ​​:要使解析与-ObjC一起使用,请导入FacebookSDK. 完成

  • Problem 1:Parse doesn't work with -ObjC
  • Solution 1: To make Parse work with -ObjC import the FacebookSDK. Done

问题2 :Parse和Fb SDK都使用Bolts.framework,链接器给出了duplicate symbol错误(其中约92个错误)

Problem 2: Parse and Fb SDK both use Bolts.framework and the linker gives duplicate symbol errors(some 92 of them)

解决方案2 :删除Bolts.framework,因为FacebookSDK已经预先捆绑了它.

Solution 2: Delete Bolts.framework as FacebookSDK already is pre-bundled with it.

问题3 :删除Bolts.framework之后,重复的错误消失了,但是有一个我无法弄清的微小链接错误.我假设他们已经在新的SDK版本中进行了更改.错误如下:

Problem 3: After removing the Bolts.framework , duplicate errors go away but there is this one tiny linker error that I can't figure out. I'm assuming they've changed something in the new SDK version. The error is as follows:

体系结构x86_64的未定义符号: "_BFTaskMultipleExceptionsException",引用自: ___ 53+ [Parse(PFObject.o)中的deleteAllAsync:withSessionToken:] _ block_invoke214 ___ 65+ [Parse(PFObject.o)中的_block_invoke311 ld:找不到架构x86_64的符号 clang:错误:链接器命令失败,退出代码为1(使用-v查看调用)

Undefined symbols for architecture x86_64: "_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 x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

[对此SO的答案] [1]的评论中提出了相同的问题,而没有任何答复或建设性的答案.

The same problem was asked in the comments of [this answer on SO][1] without any reply or a constructive answer.

P.S.我注意到一件事,FacebookSDK与Bolts版本1.1.3捆绑在一起 并且Parse在其zip文件中具有版本1.1.4.这引起问题了吗? P.P.S.我使用的是截至今天(2015年3月19日)的最新版本的SDK.

P.S. One thing I noticed that FacebookSDK comes bundled with Bolts version 1.1.3 and Parse has a version 1.1.4 in its zip file. Is this causing the problem?? P.P.S. I'm using the latest verions of SDK as of today's date(19th March, 2015)

它们是: -解析SDK:1.6.4 -GoogleMaps SDK:1.9.2

They are: - Parse SDK: 1.6.4 - GoogleMaps SDK: 1.9.2

推荐答案

因此Bolts Framework 1.1.3可与Parse 1.6.3一起使用.但是在任何地方都找不到Parse 1.6.3.因此,我进行了大量研究,并进入了可可豆荚的json文件,并获得了直接链接以下载Parse 1.6.3或与此相关的任何框架的任何版本.可可豆的 github.com/CocoaPods/Specs 是要研究的存储库.

So Bolts Framework 1.1.3 works with Parse 1.6.3. But Parse 1.6.3 was not found anywhere. So I did a lot of digging around and went into the json files of cocoa pods and got the direct link to download Parse 1.6.3 or any version of any framework for that matter. github.com/CocoaPods/Specs of cocoa pods is the repository to look into.

对于其他所有正在寻找Parse 1.6.3的人. 这是链接在json中找到source链接,然后将其复制到您的浏览器中.

For everyone else, who specifically are looking for Parse 1.6.3. This is the link Just find the source link in the json and copy it in your browser.

我要用结局结论来结束这个问题:

I am closing this question with the finale conclusion:

Parse 1.6.3和FacebookSDK 3.93取决于Bolts 1.1.3

Parse 1.6.3 and FacebookSDK 3.93 depend on Bolts 1.1.3

使用Bolts 1.1.4更新了1.6.4版,但截至目前,facebook sdk尚未更新.因此,我们必须使用Parse 1.6.3,直到使用螺栓1.1.4更新facebook sdk

Parse 1.6.4 is updated with Bolts 1.1.4 but as of this date facebook sdk isnt. Hence we have to work with Parse 1.6.3 till facebook sdk is updated with bolts 1.1.4

这篇关于iOS FacebookSDK +解析SDK + GoogleMaps SDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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