0

我一直在尝试使用 MultiPeerConnectivity 框架添加一个库,但是当我检查 podspec 是否正常时,我遇到了以下问题:

'MultipeerConnectivity/MultipeerConnectivity.h' file not found

还有 podspec

Pod::Spec.new do |s|
  s.name         = 'MagicMP'
  s.license      = 'MIT'
  s.platform = :ios, '7.0'
  s.version      = '1.0.3'                                                                  # 1
  s.summary      = 'MultiPeer framework done better' # 2
  s.author       = { 'Pedro Piñera' => 'pepibumur@gmail.com' }                            # 3
  s.homepage     = "https://github.com/pepibumur/PPiShowtime-Google-iOS-Library"
  s.source       = { :git => 'https://github.com/pepibumur/MagicMP.git' , :tag => '1.0.3'}      # 4
  s.ios.deployment_target = '7.0'
  s.source_files = 'MagicMP/*'
  s.requires_arc = true
  s.frameworks = 'MultipeerConnectivity'
end
4

0 回答 0