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

Build errors when setting iOS Deployment Target to Pods project to iOS12 #6682

Closed
SlavcoPetkovski opened this issue Oct 7, 2020 · 9 comments
Assignees

Comments

@SlavcoPetkovski
Copy link

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

@ryanwilson
Copy link
Member

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.

@pstasiak
Copy link

pstasiak commented Oct 7, 2020

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

@victorvasilica
Copy link

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.

@ryanwilson
Copy link
Member

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

@maksymmalyhin
Copy link
Contributor

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

@maksymmalyhin
Copy link
Contributor

GoogleDataTransport 7.5.1 with the fix is available on Cocoapods now.

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

@jhomik
Copy link

jhomik commented Oct 8, 2020

works perfectly, thank you!

@victorvasilica
Copy link

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

@kcw-grunt
Copy link

Thanks folks!

@firebase firebase locked and limited conversation to collaborators Nov 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.