[英]Getting an error in QuadratTouch when I do Pod Install? -Swift 3
I am creating a coffee shop app where when I did pod install, it got installed and when I open the .xcworkspace I get an error to QuadraTouch and also Realm saying "Could Not build Object-C module 'QuadratTouch'? Does anyone know what is going on? 我正在创建一个咖啡店应用程序,当我完成Pod安装,安装并打开.xcworkspace时,QuadraTouch和Realm均报错“无法构建Object-C模块'QuadratTouch'?有人知道吗?正在进行?
Here is my pod file 这是我的pod文件
platform :ios, '10.2'
use_frameworks!
target 'CoffeeShop' do
pod 'QuadratTouch', '>= 1.0'
pod 'RealmSwift'
end
I guess master branch of QuadratTouch is not fully swift 3 compatible. 我猜QuadratTouch的主分支不完全兼容Swift 3。
You have to use 'fry-swift30' branch. 您必须使用“ fry-swift30”分支。 Update your podfile like below. 如下更新您的podfile。
pod 'QuadratTouch', :git => 'https://github.com/Constantine-Fry/das-quadrat', :branch => 'fry-swift30'
I guess you are using Swift 3 and QuadratTouch
is not fully swift 3 compatible. 我猜您正在使用Swift 3,而QuadratTouch
并不完全兼容Swift 3。
Update your podfile like below removing version specification. 像下面删除版本规范一样更新您的podfile。
pod 'QuadratTouch'
Run pod repo update
command and the pod install --verbose
运行pod repo update
命令和pod install --verbose
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.