Firebase-ios-sdk: Build errors when setting iOS Deployment Target to Pods project to iOS12

Created on 7 Oct 2020  路  9Comments  路  Source: firebase/firebase-ios-sdk

Step 0: Are you in the right place?

  • For issues or feature requests related to __the code in this repository__
    file a Github issue.

    • If this is a __feature request__ please use the Feature Request template.

  • For general technical questions, post a question on StackOverflow
    with the firebase tag.
  • For general (non-iOS) Firebase discussion, use the firebase-talk
    google group.
  • For backend issues, console issues, and other non-SDK help that does not fall under one
    of the above categories, reach out to
    Firebase Support.
  • Once you've read this section and determined that your issue is appropriate for
    this repository, please delete this section.

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.0.1 (12A7300)
  • Firebase SDK version: 6.34.0
  • Firebase Component: GoogleDataTransport
  • Component version: 7.5.0
  • Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem

When setting the iOS Deployment Target to Pods project to iOS12 and trying to build the project, it fails.

Steps to reproduce:

Set iOS Deployment Target to Pods project to iOS12 and build the project.
Screen Shot 2020-10-07 at 10 44 56

GoogleDataTransport

Most helpful comment

@SlavcoPetkovski temp fix, that will survive pod install: add inhibit_all_warnings! to your podfile.

All 9 comments

Hi @SlavcoPetkovski, sorry for the issues. That's a warning that needs to be fixed. In the meantime in order to unblock you, you can disable the Treat Warnings as Errors build setting in Xcode for the GoogleDataTransport target.

@SlavcoPetkovski temp fix, that will survive pod install: add inhibit_all_warnings! to your podfile.

I have encountered the same issue when trying to update to Firebase version 6.34.0 and GoogleDataTransport version 7.5.0. Everything works well on version 7.4.0 though. Project deployment target is iOS 12.

Thanks, we're working on a fix today. Stay tuned.

The fix is available at release-6.34.0 branch. We will push the podspec update soon.

GoogleDataTransport 7.5.1 with the fix is available on Cocoapods now.

I'm closing the issue, but feel free to comment with feedback.

works perfectly, thank you!

Same for me, the project compiles without issues, thanks!

Thanks folks!

Was this page helpful?
0 / 5 - 0 ratings