Huy Phan
Huy Phan

Reputation: 1

Xcode 9.2 build warnings with Firebase

I'm new to Firebase. I'm trying to add Firebase to my project. This is my pod file:

platform :ios, '11.2'
target 'CapstoneDesign' do
  use_frameworks!
  pod 'Firebase'
  pod 'Firebase/Core'
  pod 'Firebase/Database'
  pod 'Firebase/Auth'
end

Xcode complains with 25 warnings when I built the project. What should I do?

Screenshot

Upvotes: 0

Views: 627

Answers (3)

I had the same error last week after deleting BOLTS pod from my Podfile, i thought maybe this might be a cause but it wasn't, however I went to my Firebase Database rules and set them to default, now it's working ;)

Upvotes: 0

Paul Beusterien
Paul Beusterien

Reputation: 29572

If you're seeing warnings from pods installed by Firebase, please file an issue to the Firebase or other appropriate GitHub project.

For example, last week's CocoaPods/XcodeProj release turned on additional default Xcode warnings that led to some Firebase dependencies building with warnings.

I created this GTMSessionFetcher issue and this gRPC issue.

Upvotes: 1

Gereon
Gereon

Reputation: 17864

There's nothing you can do about closed-source 3rd party libaries like Firebase. You can, however, suppress these warnings using the inhibit_all_warnings! directive in your Podfile.

Upvotes: 2

Related Questions