2016-09-28 178 views
0

我在自己的窗格内使用Firebase。我的架构是这样的:Firebase iOS - 无法启动应用程序

MyProjet 
| MyCustomPod 
| | Firebase 

我进口火力地堡在podspec这些行:

s.dependency "Firebase/Core" 
s.dependency "Firebase/Messaging" 

当我想要编译我的项目,如果有设置框架FirebaseAnalyticsFirebaseInstanceIDFirebaseMessaging as Other Linker Flags,它编译正确,但执行时,我有以下消息:

dyld: Symbol not found: _OBJC_CLASS_$_GSDK_PBDescriptor 
    Referenced from: /Path/To/MyApp.app/Frameworks/MyPod.framework/MyPod 
    Expected in: flat namespace 
in /Path/To/MyApp.app/Frameworks/MyPod.framework/MyPod 

有没有人遇到过这个问题?

回答

0

因为Firebase的库目前是静态的,所以让Firebase在另一个Pod内工作可能会非常棘手。 _OBJC_CLASS _ $ _ GSDK_PBDescriptor在GoogleInterchangeUtilities窗格中定义。