How to integrate Cocoapods with a Swift project?

前端 未结 6 787
感情败类
感情败类 2020-12-04 06:41

As Apple introduced Swift, their new programming language, I wonder how you can integrate it with existing Objective-C libraries that are available via CocoaPods?

6条回答
  •  醉酒成梦
    2020-12-04 06:57

    If you are getting a file not found error in your bridging-header.h, you might want to make sure your Pods library is being linked in your Build Scheme.

    The CocoaPods troubleshooting section describes how to do this under item #4 here

提交回复
热议问题