【发布时间】:2016-09-29 23:08:37
【问题描述】:
我在自己的 pod 中使用 Firebase for iOS。我的架构是这样的:
MyProjet
| MyCustomPod
| | Firebase
我在 podspec 中使用这些行导入 Firebase:
s.dependency "Firebase/Core"
s.dependency "Firebase/Messaging"
当我想编译我的项目时,如果必须将框架 FirebaseAnalytics、FirebaseInstanceID、FirebaseMessaging 设置为 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
有人遇到过这个问题吗?
【问题讨论】: