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

Swift Package Manager: nanopb deployment target warning #6449

Closed
aschuch opened this issue Sep 12, 2020 · 3 comments · Fixed by #6452
Closed

Swift Package Manager: nanopb deployment target warning #6449

aschuch opened this issue Sep 12, 2020 · 3 comments · Fixed by #6452

Comments

@aschuch
Copy link

aschuch commented Sep 12, 2020

Environment

  • Xcode version: Xcode 12 beta 6
  • Firebase SDK version: 6.32-spm-beta
  • Firebase Component: Analytics
  • Installation method: Swift Package Manager

Problem

Firebase is dependent on the nanopb framework. This dependency shows the following warning in Xcode 12 beta 6 when integrating Firebase Analytics using Swift Package Manager:

The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.0.99.

Screenshot 2020-09-12 at 12 51 31

Steps to reproduce:

  1. Integrate the Firebase Analytics SDK into a new project following the documentation for Firebase Swift Package Manager support
  2. Observe that there is a new warning related to the nanopb framework when building the project
@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.
@paulb777
Copy link
Member

Thanks for the report. This is also a problem for other Firebase dependencies that support iOS 8 and earlier as well. I started a discussion at https://forums.swift.org/t/minimum-ios-version-xcode-12-and-build-warnings/40224 to explore solutions.

Screen Shot 2020-09-12 at 7 12 35 AM

@paulb777
Copy link
Member

nanopb/nanopb#585 is sent for nanopb. We'll follow up with the other dependency updates and updates to the Firebase Package.swift in the next week or so.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
3 participants