drtimcooper / LatLongToTimezone

Lat/long to timezone mapper in Java. Does not require web services or data files - just pure Java or Swift.
MIT License
167 stars 33 forks source link

SWIFT_VERSION = 3 warning #15

Closed Ruckt closed 7 years ago

Ruckt commented 7 years ago

After installing your pod, I am getting the following warning for each of my targets.

[!] The `Cookie Van [Debug]` target overrides the `SWIFT_VERSION` build setting defined in `Pods/Target Support Files/Pods-Cookie Van/Pods-Cookie Van.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

At the bottom of this post you can find out an examination of the issue: https://github.com/CocoaPods/CocoaPods/issues/5952

In sum, you should use pod_target_xcconfig instead of xcconfig in the podspec as detailed here: https://github.com/CocoaLumberjack/CocoaLumberjack/issues/814

akirmse commented 7 years ago

I fixed this and increased the version number to 1.1.2. I found that I needed to upgrade to cocoapods 1.1 to get the pod to buidl correctly.