emqx / CocoaMQTT

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

Add i386 x86_64 ios simulator support for iOS Framework #453

Closed Tynox closed 2 years ago

Tynox commented 2 years ago

Hi guys.

I use Carthage to import the framework, but unable to run on iPhone simulator. So I figured it out.

I changed "VALID_ARCHS" in target "iOS Framework" from "arm64 armv7 armv7s" to "${inherited}". I also configured the "Base SDK" in every target.

Please check it out.

leeway1208 commented 2 years ago

Thanks for your support. I will check it out.😄