Error running pod install with swift

后端 未结 5 1401
逝去的感伤
逝去的感伤 2020-12-13 06:40

I followed the instruction from Cocoapods.

Below is my Podfile:

platform :ios, \'8.2\'

pod \'SwiftyJSON\', \'~> 2.1\'
pod \'SwiftSpinner\', \'~&         


        
5条回答
  •  独厮守ぢ
    2020-12-13 07:00

    Add "use_frameworks!" to your Podfile:

    Please see below sample Podfile

    target 'MySample' do
    
      pod 'AFNetworking', '~> 2.5'
    
      pod 'Net', '~> 0.2' #This is a sample in Swift
    
      use_frameworks! # <--Use this line
    end
    

提交回复
热议问题