sberrevoets / SDCAlertView

The little alert that could
MIT License
1.86k stars 298 forks source link

edited podspec to allow build pods without "use_frameworks!" #270

Closed AgranatMarkit closed 5 years ago

AgranatMarkit commented 6 years ago

it needed to build pod like static library

AgranatMarkit commented 6 years ago

http://blog.cocoapods.org/CocoaPods-1.5.0/

gereons commented 6 years ago

Isn't using resources more or less deprecated? Anyway, I noticed the same thing and filed https://github.com/CocoaPods/CocoaPods/issues/7633 for this

AgranatMarkit commented 6 years ago

@gereons no it's not. https://guides.cocoapods.org/syntax/podspec.html#resources They recommend to put resources into the bundle, and then assign that bundle to resources variable.

sberrevoets commented 6 years ago

This doesn't seem right to me. By specifying the .swift files as resources, they would be copied into the library's bundle as if they were regular documents:

A list of resources that should be copied into the target bundle