2

I am new in programming, I am sorry if my question seems silly. I am trying to build an iOS app using Firebase.

After updating to Xcode 9.3, there are a lot of warnings show up like the image below:

enter image description here

I suppose this come from the Firebase pods, and maybe the pod hasn't been updated by Firebase. am I right?

so what I have to do? do I have to fix the warning manually or I just have to wait the update from Firebase? and If I still run the program with a lot of warning like that, is the program will run properly ?

here is the pods I use

pod 'SwiftyJSON'
pod 'Firebase/Core'
pod 'Firebase/Firestore'
pod 'Firebase/Storage'
pod 'Firebase/Auth'
pod 'SVProgressHUD', :git => 'https://github.com/SVProgressHUD/SVProgressHUD.git'
pod 'GoogleSignIn'
UkFLSUI
  • 5,509
  • 6
  • 32
  • 47
sarah
  • 3,819
  • 4
  • 38
  • 80
  • They probably haven't updated it to the new warnings in Swift 4.1 & XCode 9.3, you can ignore it and wait for new update i think – Tj3n Apr 06 '18 at 02:49

1 Answers1

6

Warnings are usually just that: warnings. Most likely the code will run just fine and you can just wait for the developers to update their code.

Optionally if you dislike seeing them you can inhibit warnings in your pods within your podfile like this:

platform :ios

# ignore all warnings from all pods
inhibit_all_warnings!

# ignore warnings from a specific pod
pod 'FBSDKCoreKit', :inhibit_warnings => true

You'll have to run a pod install for the change in the project settings to happen.

This will suppress warnings in the pods you pull in and give the developers time to fix the issues.

Source: Ignore Xcode warnings when using Cocoapods

Kevin Enax
  • 176
  • 4