Open boai opened 6 years ago
This is most likely another pod's fault. SWTableViewCell is an Objective C library so it shouldnt be triggering it. When i installed my version of this i got the same error but it was from another library STRatingControl.
add this to your pod file or in the build settings add the SWIFT_VERSION = "your version of swift"
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['SWIFT_VERSION'] = '3.0' end end end
1.create a swift file and create SWTableViewCell-Bridging-Header.h file. 2.set all of 'Build Settings''s 'Swift Language Version' to new Swift version (include Pods's Build Settings)
The “Swift Language Version” (SWIFT_VERSION) build setting must be set to a supported value for targets which use Swift. This setting can be set in the build settings editor.