-
Notifications
You must be signed in to change notification settings - Fork 483
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
“Use of '@import' when modules are disabled” Error for FirebaseUiAuth #875
Comments
Hi. I am having the same issue building FirebaseUI for iOS, mixing C++ and ObjectiveC. No idea how to fix this. Any help? |
@morganchen12 would you accept PR which replaces these imports? |
Yes, PRs are very welcome. |
https://answers.unity.com/questions/1679641/use-of.html need c++ flag setup |
Using
|
Step 1: Are you in the right place?
80% chance 🤔
Step 2: Describe your environment
Step 3: Describe the problem:
Using FirebasUI dependencies in kotlin-native with cocoapods support throws error during compilation.
Not sure if valid fix, but if I replace module imports in FirebaseUI code then our project compiles successfully.
@import UIKit;
=>#import <UIKit/UIKit.h>
@import Foundation
=>#import <Foundation/Foundation.h>
edit:
Enable modules (C and Object-c)
istrue
for project.use_frameworks! :linkage => :static
Steps to reproduce:
'FirebaseUI/Google
dependency to to kotlin-native projectgradle podspec
cmdpod install
Observed Results:
error is thrown in 3 places:
Expected Results:
Successful compilation
The text was updated successfully, but these errors were encountered: