Cat1237 / cocoapods-hmap

A Command Line Tool And CocoaPods plugin which can gen/read header map file.
MIT License
114 stars 39 forks source link

Swift 引用OC三方库报错 #11

Open hotwill07 opened 3 years ago

hotwill07 commented 3 years ago

image

如图所示,Swift引用OC三方库报错,use_modular_headers已开

Cat1237 commented 3 years ago

v0.2.0试一下

hotwill07 commented 3 years ago

升级了之后,试了下,OC的 Realm,YYText报错,错误类型依然是Redifinition of ”xxxx“

Cat1237 commented 3 years ago

v0.2.2可以了

hotwill07 commented 3 years ago

cat老师,0.2.2版本 Swift使用OC类的bridging-header文件报错

image

hrstruggle1 commented 3 years ago

cat老师,0.2.2版本 Swift使用OC类的bridging-header文件报错

image

我这 bridging 也报了同样的错误

failed to emit precompiled header "xxx.pch" for bridging header "xxx.h"

Cat1237 commented 3 years ago

都是项目target吧

hrstruggle1 commented 3 years ago

都是项目target吧

对, 主工程 target

hotwill07 commented 3 years ago

都是项目target吧 是的

Cat1237 commented 3 years ago

好的,正在改,不打算用Cocoapods,自己解析project

Cat1237 commented 2 years ago

新版本试一下

hotwill07 commented 2 years ago

依然有同样的错误呢 Swift使用OC类的bridging-header文件报错

Cat1237 commented 2 years ago

这就怪了,只能是这个文件不在当前的project.pbxproj文件内,你方便发个工程给我嘛

hotwill07 commented 2 years ago

cat老师,工程不方便发呢,我自己先看看吧,谢谢!

Cat1237 commented 2 years ago

可以做一个简易的工程,发我邮箱嘛