mxcl / Path.swift

Delightful, robust, cross-platform and chainable file-pathing functions.
The Unlicense
946 stars 36 forks source link

Incorrect framework name when using CocoaPods #51

Closed slice closed 5 years ago

slice commented 5 years ago

If Path.swift is added as a dependency using CocoaPods, Path_swift.framework ends up getting generated, not Path.framework. This leads to the user needing to do import Path_swift instead of import Path.

module_name needs to be specified in the Podspec, as it is done in SQLite.swift here.

mxcl commented 5 years ago

I have applied a fix to my script to fix this for the next release. I guess I will do a bump just to fix this.