
Xcode 9
iOS 11.0
@alvincrisuy
Can you provide us with the Swift Language Version build setting of your target?
thanks
@mohpor
since I have the same error [happened exactly at the same moment of time :) - 15 mins ago]:
+ there are few others:

I guess the problem is that you are using 3.2, it needs to be 4. You can specifically set 4 to be used by Material (if you don't want all your pods to use Swift 4). just add the following code at the end of your pod file:
swift4pods = ['Material']
post_install do |installer|
installer.pods_project.targets.each do |target|
if swift4pods.include? target.name
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end
Thanks! that did the trick! 馃槃
I'm glad it did.
Have a nice day
Most helpful comment
I guess the problem is that you are using 3.2, it needs to be 4. You can specifically set 4 to be used by Material (if you don't want all your pods to use Swift 4). just add the following code at the end of your pod file: