emqx / CocoaMQTT

MQTT 5.0 client library for iOS and macOS written in Swift
https://www.emqx.com/en
Other
1.6k stars 422 forks source link

Carthage platform support #339

Closed amsibsam closed 3 years ago

amsibsam commented 4 years ago

Background Problem: Got an error

error: Building for tvOS, but the linked framework 'CocoaAsyncSocket.framework' was built for macOS. (in target 'CocoaMQTT' from project 'CocoaMQTT')

When running carthage update --platform iOS

related issue https://github.com/emqx/CocoaMQTT/issues/324

Suggested Solution: Add iOS, Mac, and tvOS platform support for carthage

How to test: make sure carthage update --platform [iOS/Mac/tvOS] success

HJianBo commented 3 years ago

Cool @amsibsam Thanks for your contribution