akaffenberger / firebase-ios-sdk-xcframeworks

A small mirror for https://github.com/firebase/firebase-ios-sdk, to add support for binary (xcframework) distribution with swift package manager.
MIT License
134 stars 32 forks source link

FirebaseFirestore unsafe build flags #26

Closed dineshvijaykumar closed 2 years ago

dineshvijaykumar commented 2 years ago

Since updating to version 9.0.0 I am unable to build the project. I get the following error:

The package product 'FirebaseFirestore' cannot be used as a dependency of this target because it uses unsafe build flags.
sejr commented 2 years ago

Seeing this as well unfortunately. In the meantime you can still use 8.15.0

akaffenberger commented 2 years ago

Thanks @dineshvijaykumar! This was due to another issue I recently fixed, where errors can occur if the -ObjC flag is not set. I removed the flag from Package.swift and added readme instructions to manually set the flag under build settings instead.