0

I'm going to create a swift pod that contains code in non-module objc header, in my case is <CommonCrypto/CommonCrypto.h>. So it doesn't pass the pod lint and said couldn't find the functions. And I tried this:

s.xcconfig = { "SWIFT_OBJC_BRIDGING_HEADER" => "My-Bridging-Header.h" }

doesn't work too and warn:

error: using bridging headers with framework targets is unsupported

Any experienced saver show me the way?

Klein Mioke
  • 1,261
  • 2
  • 14
  • 23

0 Answers0