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

Open
1 task done
habyaad opened this issue Nov 30, 2024 · 1 comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. Needs Attention This issue needs maintainer attention. platform: ios Issues / PRs which are specifically for iOS. plugin: core 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked: customer-response Waiting for customer response, e.g. more information was requested. Needs Attention This issue needs maintainer attention. platform: ios Issues / PRs which are specifically for iOS. plugin: core type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants