Comments (12)
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.
In libraries -> RCTFBSDK.xcodeproj -> Build Settings -> Header Search Paths
In libraries -> RCTFBSDK.xcodeproj -> Build Settings -> Framework Search Paths
from facebook-sdk-for-unity.
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.
I got the package from link you posted.
from facebook-sdk-for-unity.
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
from facebook-sdk-for-unity.
That is what is shown here. I have attached a screenshot. I have also attached a screenshot of the files that were build.
from facebook-sdk-for-unity.
I have found the problem. For some reason the Framework Search Path was set wrong in Xcode. Instead of
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.
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.
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.
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.
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.
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.
Hey guys, what is the official solution for this?
from facebook-sdk-for-unity.
Related Issues (20)
- Events not shooting up in Events Manager, Unity FB SDK. HOT 3
- Unable to start activity ComponentInfo{com.companyname/com.facebook.unity.FBUnityLoginActivity}
- Game crash after start on iOS with fbsdk v16 HOT 30
- 16.0.1 FB SDK doesn't keep user logged in on subsequent sessions HOT 5
- "_valueToSum" parameter in the event manager is empty when upgraded to SDK v16.0.1 HOT 2
- FacebookSDK generates excessive permanent GC memory
- HideUnityDelegate not used on Android?
- InvalidCastException : Unable to cast object of type ‘EditorFacebook’ to type ‘AndroidFacebook’
- [Android] Auto-Logging Purchase Issue after upgrading to Play Billing Library 5 HOT 3
- DT_TOOLCHAIN_DIR cannot be used to evaluate LIBRARY_SEARCH_PATHS, use TOOLCHAIN_DIR instead HOT 4
- Feature Request: Remove BOM from info.plist
- Library Conflict In unity
- Fetching profile picture results in empty texture2d HOT 1
- Exception: Too many receivers, total of 1000 HOT 1
- AndroidJavaException: java.lang.NoSuchMethodError: no static method with name='setIsUnityInit'
- FBUnityLoginActivity crash int java.lang.Enum.ordinal()' HOT 2
- Feature Request: Support App Privacy Manifest HOT 4
- missing Microsoft Xbox's build targets (using in 2020.3.x and higher) HOT 1
- [IOS] Unity Crashes on Startup with Deep Link Launch EXC_BAD_ACCESS (code=1, address=0x378) HOT 13
- Android 34 / FB SDK - can't build ( A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade ) HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-sdk-for-unity.