facebook / facebook-sdk-for-unity

The facebook sdk for unity.
https://developers.facebook.com/docs/unity
Other
487 stars 257 forks source link

An error occurred while fixing the SDK error. #331

Open JaeKyoungJeon opened 5 years ago

JaeKyoungJeon commented 5 years ago

Hi.

An error occurred after building the Facebook SDK with Unity.

please help me.

FBerror

JaeKyoungJeon commented 5 years ago

This project is IOS Build.

KylinChang commented 5 years ago

Hey @JaeKyoungJeon , I think the reason is zlib not linking to the project and you should be able to fix that by adding zlib. What's the SDK error you are fixing?

JaeKyoungJeon commented 5 years ago

Hi. @KylinChang. rrr

We are fixing this error.

KylinChang commented 5 years ago

Hi @JaeKyoungJeon , the compilation issue should be fixed in FBiOSSDKv5.5.0 and you can run pod update to get the latest FBiOSSDK to fix the issue. Here is the commit of the fix in case you are interested: https://github.com/facebook/facebook-objc-sdk/commit/a08e89aa0f5fef040f2a1ab198bf8527dbb5a24c

KylinChang commented 5 years ago

Hi @JaeKyoungJeon , if you update to FBiOSSDKv5.5.0 and meet the first error, you can try to add zlib to your project to fix the issue.

JaeKyoungJeon commented 5 years ago

제목 없음

Hi. @KylinChang The error occurs again..

JaeKyoungJeon commented 5 years ago

Hi @KylinChang How can I add zlib ??

JaeKyoungJeon commented 5 years ago

Hi. @KylinChang I modified the code myself. Do I need to add it to the Libaray folder of my current Xcode project to apply the FB iOS SDK v5.5.0?

JaeKyoungJeon commented 5 years ago

Do you edit FBCorekit, FBLoginkit ... in the pop folder? Please tell me how to use FB iOS SDK v5.5.0 in my current xcode project.

KylinChang commented 5 years ago

@JaeKyoungJeon , my suggestion here is to upgrade to FBiOSSDKv5.5.0 and then you link libz.tbd with your project.