Question or problem in the Swift programming language:
I have scoured SO and Google but can’t find an answer that works. I have used the new Firebase Cocoapod on multiple projects but now, when adding it to a different project I am getting the following error.
I am using Xcode 7.3.1 with cocoapods 1.0.1.
Here is my podfile:
Any help is greatly appreciated!
How to solve the problem:
Build Settings >
Other Linker Flags > on a new line
Cmd+Ctrl+K for a clean, and then build.
Uncomment this line to define a global platform for your project
platform :ios, ‘9.0’
target ‘AppName’ do # Comment this line if you’re not using Swift and don’t want to use dynamic frameworks inhibit_all_warnings! use_frameworks!
Pods for FCM
pod ‘Firebase’ pod ‘Firebase/Core’ pod ‘Firebase/Messaging’