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

iOS builds fails 'FirebaseAuth-Swift.h' file not found cordova 6.1.x #911

Open
5 tasks done
rencsikmarian opened this issue Nov 21, 2024 · 0 comments
Open
5 tasks done

Comments

@rencsikmarian
Copy link

rencsikmarian commented Nov 21, 2024

Bug report

CHECKLIST

  • I have reproduced the issue using the example project or provided the necessary information to reproduce the issue.
  • I have checked that no similar issues (open or closed) already exist.

Current behavior:

I have a Cordova project that is using cordova-plugin-firebasex. I want to use cli to build the iOS apps. I can build the app if I use the code.

I can reproduce the issue using the example project but using "cordova-ios": "github:apache/cordova-ios#6.1.x".

I get build errors on iOS. I am using cocoapods version 1.15.2. See error log below:

/Users/user/project/cordova/app/platforms/ios/MyApp/Plugins/cordova-plugin-firebasex/AppDelegate+FirebasePlugin.h:3:9: fatal error: 
      'FirebaseAuth-Swift.h' file not found
#import "FirebaseAuth-Swift.h"
        ^~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Expected behavior:

  • Should build without errors.

Steps to reproduce:

  • Go to the project and run cordova build ios --debug

Environment information

  • Cordova CLI version
  • Cordova platform version
    • ios 6.1.1
  • Plugins & versions installed in project (including this plugin)
    • branch-cordova-sdk 5.1.0 "branch-cordova-sdk" com.adjust.sdk 4.35.1 "Adjust" com.xtreme.plugins.XtremePush 4.5.7 "XtremePush" cordova-plugin-app-version 0.1.14 "AppVersion" cordova-plugin-apprate 1.8.0 "AppRate" cordova-plugin-dialogs 2.0.2 "Notification" cordova-plugin-firebasex 18.0.3 "Google Firebase Plugin" cordova-plugin-inappbrowser 4.1.0 "InAppBrowser" cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview" cordova-plugin-nativestorage 2.3.2 "NativeStorage" cordova-plugin-printer 0.8.0 "Printer" cordova-plugin-safariviewcontroller 2.0.0 "SafariViewController" cordova-plugin-splashscreen 5.0.4 "Splashscreen" cordova-plugin-uniquedeviceid 1.3.2 "UniqueDeviceID" cordova-plugin-whitelist 1.3.5 "Whitelist" cordova-plugin-wkwebview-inject-cookie 1.1.5 "WKWebViewInjectCookie"
  • Dev machine OS and version, e.g.
    • OSX
      • ProductName: macOS ProductVersion: 14.7.1 BuildVersion: 23H222

iOS build issue:

  • Node JS version
    • v20.11.1
  • XCode version
    • Version 15.4 (15F31d)
@rencsikmarian rencsikmarian changed the title iOS builds fails 'FirebaseAuth-Swift.h' file not found cordova 6.x iOS builds fails 'FirebaseAuth-Swift.h' file not found cordova 6.1.x Nov 21, 2024
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

1 participant