error using cocoapods “use_frameworks!” SWIFT

后端 未结 3 615
长发绾君心
长发绾君心 2021-02-05 09:03

I had a clean swift project, using some cocoapods : Parse, AFNetworking and RESideMenu. I need to use STZPopupView pod, so I updated cocoapods with the last version:

         


        
3条回答
  •  渐次进展
    2021-02-05 09:36

    I'm actually on the same problem. You could try this: http://www.innerexception.com/2015/05/cocoapods-useframeworks-means-bridging.html

    When using use_frameworks! in CocoaPods all of your pods will be used as frameworks, not only the swift pods. So you don't need an bridging header for this. Just import your pods into all swift files you need. In your example you have to write: import RESideMenu

提交回复
热议问题