I'm attempting to use the Quick/Nimble testing framework in the iOS application at work. When I build my xcworkspace project I get all the errors in the image below. All these errors are within the Pods.xcodeproj in Pods/Nimble folder.
I'm using Swift 3, Xcode 8.0, Cocoapods 1.1.1, fastlane 1.10.5, Nimble 5.1.1, Quick 0.10.0, and Swiftlint. Are these errors caused by Swiftlint, Swift 3, or something else?
In order to disable Swiftlint from checking the Pods folder I added this code to .swiftlint.yml
file:
excluded: # paths to ignore during linting. Takes precedence over `included`.
- Pods
This solved my problem as the errors were stopping me from building the project. The .swiftlint.yml
file goes at the same level as your Xcode project folder.
I'm presuming that you added Quick and Nimble using Cocoapods. If not you may have to add a different folder/project to exclude.