jonasman / MulticastDelegate

An elegant multicast delegate written in swift
MIT License
148 stars 28 forks source link

updated podspec to avoid errors when trying to use cocoapods from an iOS only project #17

Closed Rwagstaff84SEEK closed 6 years ago

Rwagstaff84SEEK commented 6 years ago

updated podspec to use ios.deployment_target and oxs.deployment_target to avoid errors when trying to use cocoapods from an iOS only project

Problem: Cannot run pod install on the latest version of MulticastDelegate (2.1.0). Cocoapods shows an error message that it does not support the platform 'ios'. My company had to downgrade to MulticastDelegate 2.0.1 to allow pod install to be able to run screen shot 2018-02-26 at 4 03 24 pm

I believe this problem is due to this commit here: https://github.com/jonasman/MulticastDelegate/commit/d3fe045be7a190e5d509db37d0c9b534d85cbdb0

This PR is updating the podspec to match the format specified in this cocoapod issue: https://github.com/CocoaPods/CocoaPods/issues/4185

Here is an example from Alamofire that my change is based on: https://github.com/Alamofire/Alamofire/blob/master/Alamofire.podspec

jonasman commented 6 years ago

Thanks! I will update the trunk soon