update SwiftyForm to Swift 4.2
Closed this issue · 3 comments
SalehAlDhobaie commented
Hi All,
is there any plan to update SwiftyForm to Swift 4.2 ? I tried to use 1.6 and 1.7 with cocoapods seems not working
neoneye commented
Can you post you podfile
?
SwiftyFORM already works with Swift 4.2. I have just verified it. Downloaded a zip of this repo and compiled it with the latest Xcode 10.1 and it builds without warnings.
SalehAlDhobaie commented
HI @neoneye
I tried with 1.6 & 1.7 from cocoapods but the error still exist.
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
use_frameworks!
target 'TARGET_NAME' do
pod 'SwiftyFORM', '~> 1.5'
end
neoneye commented
This is how my own podfile
looks like. I use this for all my projects. Does this template also work for you?
source 'https://github.com/CocoaPods/Specs.git'
swift_version = "4.2"
platform :ios, '11.0'
use_frameworks!
def my_libraries
# https://github.com/SwiftyBeaver/SwiftyBeaver/commits/master
pod 'SwiftyBeaver', :git => 'https://github.com/SwiftyBeaver/SwiftyBeaver.git', :commit => '78352a16ed33e53307795b46145a1c739e08fb83'
# https://github.com/neoneye/SwiftyFORM/commits/master
pod 'SwiftyFORM', :git => 'https://github.com/neoneye/SwiftyFORM.git', :commit => '251d9bde227e32b8164329743cae0ae3556e2ad1'
end
abstract_target 'BasePods' do
my_libraries
target 'App' do
end
target 'Tests' do
end
end