Samuel Rosenstein
Samuel Rosenstein

Reputation: 374

FIRApp Linker Error ["_OBJC_CLASS_$_FIRApp"]

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.

enter image description here

I am using Xcode 7.3.1 with cocoapods 1.0.1.

Here is my podfile: enter image description here

Any help is greatly appreciated!

Upvotes: 9

Views: 9045

Answers (2)

vijay
vijay

Reputation: 1495

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'

end

Upvotes: 0

David East
David East

Reputation: 32604

Go to Build Settings > Other Linker Flags > on a new line $(inherited).

Do a Cmd+Ctrl+K for a clean, and then build.

Upvotes: 21

Related Questions