Closed ferrerod closed 3 years ago
I believe this is related: https://github.com/CocoaPods/CocoaPods/issues/8764
Can confirm this issue is not unique to CocoaPods, get the same error on Carthage.
Using XCode 10.1 on macOS 10.13.
I cross posted on cocoapods gh issues - pod lint and spec lint seem to create some trouble and not just this pod. Diff between one that did and didn’t showed SwiftKeychainWrapper pod had a inherit swift_options (?) clause. I wonder if it is due to SwiftKeychainWrapper lacking a spec.swift_versions = ... in its Podspec file. It really should imo.
The podspec with a new version number 3.3.4(?), and the swift_version specified should be published to cocoapods and that should resolve this issue.
I've pushed these changes to CocoaPods as version 3.4.0 so you should be able to update now.
Running pod spec lint on MySecurity podspec file now fails with unsupported SWIFT_VERSION. I'm using cocoapods version 1.5.3 MySecurity depends on SwiftKeychainWrapper 3.2.0 I'm still using Xcode 10.1 due to other pods. After SwiftKeychainWrapper 3.3.0 release, now linting MySecurity.podspec fails so I can't push MySecurity.podspec to my private specs repo.
Even in MySecurity/Podfile I have a hook setup to specify 4.2: config.build_settings['SWIFT_VERSION'] = '4.2'
but the error persists...
bundle exec pod spec lint --verbose MySecurity.podspec ... -> Installing SwiftKeychainWrapper (3.2.0)