import swift class in objective-c, -Swift.h file not found

后端 未结 10 1628
野性不改
野性不改 2020-12-02 15:41

I have an iOS project written with Objective-C. I created an Swift class in the project, the bridging header file for accessing objective-c in Swift is generated successfull

10条回答
  •  难免孤独
    2020-12-02 16:22

    In my case, I have forgotten to check a swift framework to the target/classes that I was using it, really specifically case but it may help someone in the future.

提交回复
热议问题