Skip to content

iOS required a higher minimum deployment target. #7

@PandaGeek1024

Description

@PandaGeek1024

I deleted the pod.lock file and did a "pod install"
then I get this error message

Analyzing dependencies
cloud_firestore: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
firebase_auth: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '7.3.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "cloud_firestore":
  In Podfile:
    cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)

Specs satisfying the `cloud_firestore (from `.symlinks/plugins/cloud_firestore/ios`)` dependency were found, but they required a higher minimum deployment target.

[!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Then I changed deployment target to 10.0 and pod install successfully but when build it throws another error:

flutter-folio/ios/Pods/BSImagePicker/Sources/Controller/PhotosViewController.swift:25:8: error: compiling for iOS 9.0, but module 'BSGridCollectionViewLayout' has a minimum deployment target of iOS 10.0: /Users/pengfeihuang/Library/Developer/Xcode/DerivedData/Runner-epcmdumldcscgsbgqnwqkeirsrxe/Build/Products/Debug-iphoneos/BSGridCollectionViewLayout/BSGridCollectionViewLayout.framework/Modules/BSGridCollectionViewLayout.swiftmodule/arm64-apple-ios.swiftmodule
import BSGridCollectionViewLayout

how do I fix this?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions