Error 내용:


Pods written in Swift can only be integrated as frameworks; add `use_frameworks!` to your Podfile or target to opt into using it. The Swift Pod being used is: ToastSwift



Error 수정:


# Uncomment the next line to define a global platform for your project

platform :ios, '10.0'


pod 'ToastSwift'

target 'iPhone_Test' do

  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks

  # use_frameworks!


  # Pods for iPhone_Test


  target 'iPhone_TestTests' do

    inherit! :search_paths

    # Pods for testing

  end


  target 'iPhone_TestUITests' do

    inherit! :search_paths

    # Pods for testing

  end


use_frameworks!


end


Podfile의 맨 끝에 use_frameworks!를 추가해준다.

Posted by 知彼知己百戰不殆
,