问题
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!
回答1:
Go to Build Settings
> Other Linker Flags
> on a new line $(inherited)
.
Do a Cmd+Ctrl+K
for a clean, and then build.
回答2:
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
来源:https://stackoverflow.com/questions/37604304/firapp-linker-error-objc-class-firapp