Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'RegisterMonoModules.h' file not found XCode iOS #323

Closed
naklow12 opened this issue Sep 4, 2019 · 6 comments
Closed

'RegisterMonoModules.h' file not found XCode iOS #323

naklow12 opened this issue Sep 4, 2019 · 6 comments

Comments

@naklow12
Copy link

naklow12 commented Sep 4, 2019

I can't build on iOS but I can play on Editor.

Libraries/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.h:22:10: 'RegisterMonoModules.h' file not found
Libraries/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.mm:19:10: In file included from Libraries/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.mm:19:

This happens only on XCode. It works well on Android. I checked from Facebook developers and I can see my installing there.

@KylinChang
Copy link
Contributor

Hi @naklow12 , the issue is related to Unity Editor, which version of Unity Editor are you using? We find that some alpha version of Unity Editor may have this issue.

@naklow12
Copy link
Author

naklow12 commented Sep 4, 2019

It is 3.0a8. But I solved by commenting "import RegisterMonoModules.h" on FBUnityInterface.h script. It was not using it. And it solved I got build and tested Facebook Developers it's working. Thanks.

@naklow12 naklow12 closed this as completed Sep 4, 2019
@ilterbilguven
Copy link

Using Unity 2019.3.0f6 and 2019.3.1f1, and this issue still exists. According to Unity Issue Tracker https://issuetracker.unity3d.com/issues/filenotfoundexception-when-building-a-project-with-facebook-sdk-for-ios , there will be no "RegisterMonoModules.h" anymore. You need to update the SDK.

@huynguyencong
Copy link

It is still happen to me. Should update SDK to fix it.

@bakalarczuk
Copy link

SDK update on iOS breaking FB SDK on Android. I suggest SDK developers to better checking what they publishing. Now I've got FB SDK downgraded for Android build, but it doesn't work on iOS build, because of RegisterMonoModules.h... thanks FB...

@h3902340
Copy link

h3902340 commented Sep 1, 2020

This bug still exists in FacebookSDK 7.21.2 with Unity 2019.4.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants