【发布时间】:2016-12-25 21:23:06
【问题描述】:
在此示例项目中,注释掉BridgingHeader.h 中的#import 行,它将在AppDelegate.swift 中产生unresolved identifier 的错误
https://github.com/lacyrhoades/GLSlideshow/tree/stackoverflow
作为另一种方法,我理解的是“正确”方法,如果在 AppDelegate.swift 中添加 import GoogleCastRemoteDisplay,这并不能修复错误,但会产生一个新的说法 no such module GoogleCastRemoteDisplay
这是库的 podspec 的问题吗?我想制作自己的 Pod,但我很困惑:Pod 什么时候需要桥接头,什么时候不需要?
【问题讨论】:
-
需要 Podfile 的内容。
标签: ios swift frameworks cocoapods chromecast