Closed MarcoFilosi closed 6 years ago
This is not an issue on PDFReader Pod. This is an issue on CocoaPods when we have project importing pods set to a specific swift version but pod is configured with another swift version. see also: https://github.com/CocoaPods/CocoaPods/issues/6791 https://github.com/CocoaPods/CocoaPods/issues/7134
CocoaPods 1.4.0 should fix and support multiple swift languages versions
Go to PDFReader Target - BuildSettings. Select Swift Language Version as Swift 4
PDFReader 2.5.1 has been written in Swift4 but CocoaPods 1.3.1 install it as a Swift 3.2 project
Version Info
Expected Behavior
Execute
pod install
and then compile project on XCode as a Swift 4 project.Actual Behavior
20 Swift Compiler Errors. Error messages are:
xxx is inaccessible due to 'private' protection level
Steps to Reproduce