error using cocoapods “use_frameworks!” SWIFT

后端 未结 3 604
长发绾君心
长发绾君心 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:44

    Try removing isam/ from the Objective-C Bridging Header and have only Swift-Bridging-Header.h

    Coming from personal experience, CocoaPods still have some issues when combining swift and Objective C frameworks. You can use Alamofire which is almost equivalent of AFNetworking for swift.

    Hope this helps.

    Edit : Also why use Objectice-C Parse in swift when you can directly use swift libraries.

提交回复
热议问题