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

Firebase Core: Include of non-modular header inside framework module 'FirebaseCoreExtension.FIRAppInternal' #16796

Closed
1 task done
habyaad opened this issue Nov 30, 2024 · 3 comments
Labels
Needs Attention This issue needs maintainer attention. platform: ios Issues / PRs which are specifically for iOS. plugin: core resolution: user This was a user issue, e.g. invalid configuration or code. type: bug Something isn't working

Comments

@habyaad
Copy link

habyaad commented Nov 30, 2024

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

Core

Which platforms are affected?

iOS

Description

This is my result from codemagic, i get the same when I try to run in xcode too
I have:
set CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES to YES;

My packages versions:
firebase_analytics: ^11.3.5
firebase_crashlytics: ^4.1.5
firebase_messaging: ^15.1.5
firebase_core: ^3.8.0

Reproducing the issue

Use the latest version of these packages
firebase_analytics: ^11.3.5
firebase_crashlytics: ^4.1.5
firebase_messaging: ^15.1.5
firebase_core: ^3.8.0

and try to run ios build using a CI/CD pipeline like codemagic

Firebase Core version

3.8.0

Flutter Version

3.24

Relevant Log Output

Archiving <com.projectname>
Updating project for Xcode compatibility.
Upgrading project.pbxproj
Upgrading Runner.xcscheme
Automatically signing iOS for device deployment using specified development team in Xcode project: U6Y38UNLA6
Running pod install...                                           2,051ms
Running Xcode build...                                          
Xcode archive done.                                         37.4s
Failed to build iOS app
Lexical or Preprocessor Issue (Xcode): Include of non-modular header inside framework module 'FirebaseCoreExtension.FIRAppInternal': '/Users/builder/clone/ios/Pods/Headers/Public/FirebaseCore/FIRApp.h'
/Users/builder/clone/ios/Pods/FirebaseCoreExtension/FirebaseCore/Extension/FIRAppInternal.h:16:8

Encountered error while archiving for device.


Build failed :|
Step 9 script `Flutter build ipa` exited with status code 1

Flutter dependencies

Expand Flutter dependencies snippet
  firebase_analytics: ^11.3.5
  firebase_crashlytics: ^4.1.5
  firebase_messaging: ^15.1.5
  firebase_core: ^3.8.0

Additional context and comments

No response

@habyaad habyaad added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Nov 30, 2024
@SelaseKay SelaseKay added plugin: core platform: ios Issues / PRs which are specifically for iOS. labels Dec 2, 2024
@SelaseKay
Copy link
Contributor

SelaseKay commented Dec 2, 2024

Hi @habyaad, what version of Xcode are you using in CI and locally?

@SelaseKay SelaseKay added the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Dec 2, 2024
@habyaad
Copy link
Author

habyaad commented Dec 2, 2024

Hi @habyaad, what version of Xcode are you using in CI and locally?

I am using 16.0 on CI and 16.1 locally

@google-oss-bot google-oss-bot removed the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Dec 2, 2024
@habyaad
Copy link
Author

habyaad commented Dec 2, 2024

I fixed it by deleting and generating a new ios folder in the project, I don't know why that fixed it, maybe because the other environment was corrupted, i wouldn't have known

@SelaseKay SelaseKay added the resolution: user This was a user issue, e.g. invalid configuration or code. label Dec 2, 2024
@firebase firebase locked and limited conversation to collaborators Jan 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs Attention This issue needs maintainer attention. platform: ios Issues / PRs which are specifically for iOS. plugin: core resolution: user This was a user issue, e.g. invalid configuration or code. type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants