Coder Social home page Coder Social logo

Comments (12)

NijaahnandhRV avatar NijaahnandhRV commented on April 25, 2024 1

Still I get this issue, Can anyone help me with this issue please

I have added my FacebookSDKs-iOS-4.37.0 framework in document folder and I have also added in my project.

screen shot 2018-10-11 at 5 33 53 pm

In libraries -> RCTFBSDK.xcodeproj -> Build Settings -> Header Search Paths

screen shot 2018-10-11 at 5 34 16 pm

In libraries -> RCTFBSDK.xcodeproj -> Build Settings -> Framework Search Paths

screen shot 2018-10-11 at 5 38 12 pm

from facebook-sdk-for-unity.

swiese avatar swiese commented on April 25, 2024

Did you download the package from the developer site or did you build it from the source code in this project?

https://origincache.facebook.com/developers/resources/?id=facebook-unity-sdk-7.1.0.unitypackage

from facebook-sdk-for-unity.

Marreck avatar Marreck commented on April 25, 2024

I got the package from link you posted.

from facebook-sdk-for-unity.

swiese avatar swiese commented on April 25, 2024

I haven't been able to repo your issue. Can you make sure the import worked successfully. You should see the following in the plugin folder

Plugin folder structure

from facebook-sdk-for-unity.

Marreck avatar Marreck commented on April 25, 2024

That is what is shown here. I have attached a screenshot. I have also attached a screenshot of the files that were build.

dir

osx

osx2

from facebook-sdk-for-unity.

Marreck avatar Marreck commented on April 25, 2024

I have found the problem. For some reason the Framework Search Path was set wrong in Xcode. Instead of $(inherited) $(PROJECT_DIR)/Frameworks\Plugins/iOS/Facebook it should be $(inherited) $(PROJECT_DIR)/Frameworks/Plugins/iOS/Facebook.

I have no idea if this is a bug in Unity3d generating the paths wrong or a bug in the Facebook SDK though.

from facebook-sdk-for-unity.

swiese avatar swiese commented on April 25, 2024

Nice find!

Unity does the picking up of all frameworks in the Plugins/iOS folder and adding them to the xcode with the correct search path. Odd though that they only messed up one slash when adding the path.

from facebook-sdk-for-unity.

Marreck avatar Marreck commented on April 25, 2024

Also weird that I didn't encounter it with other frameworks. I'll report it as a bug with Unity.

Thanks for the help!

from facebook-sdk-for-unity.

orcunnisli avatar orcunnisli commented on April 25, 2024

I'm using Unity 5.3.5f1, Facebook SDK 7.6 (also tried 7.2) and XCode 6. This issue is 8 months old but it is still occurring with new versions of Unity and Facebook.

I can create XCode project from Unity but when I try to build the XCode Project, it gives the same error above. I am using an automated build tool and so I can't fix it on XCode on each build, I need a permanent solution inside Unity. Is there any?

Also In my case, fixing the slash and rebuilding didn't fixed my problem. Is says other Facebook h files are not found.

from facebook-sdk-for-unity.

mosky17 avatar mosky17 commented on April 25, 2024

same here orcunnisli, did you manage to resolve?
using fb_sdk 7.9.0, unity 5.5 and xcode 8

from facebook-sdk-for-unity.

khayreddinebiada avatar khayreddinebiada commented on April 25, 2024

I tried this commands It's work and know I can build. you need open your terminal and go to you XCode Folder then excite this commands lines. If it now work try repeat second time.

pod 'FBSDKShareKit'
pod install

from facebook-sdk-for-unity.

glaksmono avatar glaksmono commented on April 25, 2024

Hey guys, what is the official solution for this?

from facebook-sdk-for-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.