xcode pod install error>>>无法确定`SocketSwift`目标的平台

zfycwa2u  于 2023-04-22  发布在  Swift
关注(0)|答案(1)|浏览(166)

我下载了github socket.swift,按照安装说明创建了Podfile,
但是Cocoapods“pod install”得到错误。
Podfile是:

[![# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

source 'https://github.com/CocoaPods/Specs.git'
target 'SocketSwift' do

  # Pods for SocketSwift
  pod 'Socket.swift', '~> 2.4.0'
end][1]][1]

代码未修改Socket.swift

kq4fsx7k

kq4fsx7k1#

取消注解# platform:ios,'9.0'行
所以去掉#

相关问题