Search Issue Tracker
By Design
Votes
0
Found in
2019.3.0a1
2019.3.0a11
2020.1.0a1
Issue ID
1177436
Regression
Yes
[iOS] FileNotFoundException when building a project with Facebook SDK for iOS
How to reproduce:
1. Build the "fbsbktest.zip" project for iOS
Actual result: Build succeeds, but an error is thrown: FileNotFoundException: Could not find file "build/Libraries/RegisterMonoModules.h".
Expected result: Build succeeds, but no errors are thrown.
Reproducible with: 2020.1.0a1, 2019.3.0b1, 2019.3.0a1.
Not reproducible with: 2019.2.3f1, 2018.4.7f1, 2017.4.32f1.
Notes:
- The issue appears after the Facebook SDK from asset store is imported.
Comments (2)
-
rory_playcebostudios
Nov 05, 2021 03:36
I have similar issues with using facebook SDK, even with importing the SDK in to a blank scene to test if it can export.
-
lntoan123
Sep 23, 2019 10:34
I also face to that Problem on unity 2019.3.0b4.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Resolution Note (2020.1.X):
This is by design. There is no RegisterMonoModules.h file in latest Unity (or at least it doesn't always exist), I only see the .cpp file in exported project.
Facebook SDK assumes such file exists and tries to modify it in some way. It's their bug.
Maybe it's possible to write a custom PostProcess script that runs before Facebook postprocessor and getnerates this file?