我正在尝试使用以下link将firebase集成到我的cocos2dx项目中 我在pod文件中安装了Firebase Core和Firebase Admob。我的pod文件看起来像这样:
**source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '7.0'
# Replace "MyGame" with the name of your game.
target 'MyGame-mobile' do
pod 'Firebase'
pod 'Firebase/AdMob'
end**
我已经在项目中成功安装了admob和firebase,但无法在项目中使用它。当我尝试将此头文件添加到我的项目中时,它给我一个错误,看起来像:
**The project does not compile. This is the error:
Apple Mach-O Linker (ld) Error Group
“OBJC_CLASS$_FIRApp”, referenced from:
“OBJC_CLASS$_FIROptions”, referenced from:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried to add $(inherited) in Build Settigs > “Other Linker Flags” and these errors disappear, but this persist:
Apple Mach-O Linker (ld) Error Group
clang: error: linker command failed with exit code 1 (use -v to see invocation)**