You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trying to build my project gives me 56 compiler errors #317
I updated my pods about 20 minutes ago, and after that, whenever I try to compile and build my project, I get a total of 56 compiler errors back from Xcode.
It this a problem anyone else experienced? Build settings:
@SenorWesley thanks for writing in. It looks like your project is building in Swift 3.2, but the latest BonMot only supports Swift 4. I should be able to add a swift_version flag to the podspec that will work as long as you're using CocoaPods 1.4. But until then, here's a fix that you can put at the bottom of you Podfile:
# This is a hack to support both 3.2 and 4.0 pods. Add the pod name to the array below to build in 4.0.## https://github.com/CocoaPods/CocoaPods/issues/7134 is the official thread tracking the issue.SWIFT_4_PODS=['BonMot']post_installdo |installer|
require'fileutils'installer.pods_project.targets.eachdo |target|
target.build_configurations.eachdo |config|
config.build_settings['SWIFT_VERSION']=SWIFT_4_PODS.include?(target.name) ? '4.0' : '3.2'endendend
Activity
ZevEisenberg commentedon Jan 25, 2018
@SenorWesley thanks for writing in. It looks like your project is building in Swift 3.2, but the latest BonMot only supports Swift 4. I should be able to add a
swift_versionflag to the podspec that will work as long as you're using CocoaPods 1.4. But until then, here's a fix that you can put at the bottom of you Podfile:Dimillian commentedon Jan 30, 2018
See: #310