【发布时间】:2018-07-18 13:11:14
【问题描述】:
我已经在 swift 中创建了自己的 cocoa POD 框架,它在 Objective C 桥接头文件中使用#import CommonCrypto/CommonCrypto.h,但是当我尝试在项目中使用相同的 POD 时,它给出了编译错误 -
在框架模块“”中包含非模块化标头: '/Users/macmini/Downloads/Xcode_9.2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.2.sdk/usr/include/CommonCrypto/CommonCrypto.h'"
请告诉我如何解决这个问题。
我正在使用它来快速创建自己的 POD 框架。
【问题讨论】:
标签: ios objective-c swift cocoapods objc-bridging-header