Firebase-ios-sdk: Swift Package Manager: nanopb deployment target warning

Created on 12 Sep 2020  路  3Comments  路  Source: firebase/firebase-ios-sdk

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
Swift Package Manager

Most helpful comment

https://github.com/nanopb/nanopb/pull/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.

All 3 comments

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.

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

https://github.com/nanopb/nanopb/pull/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.

Was this page helpful?
0 / 5 - 0 ratings