flightonary / Moscapsule

MQTT Client for iOS written in Swift
MIT License
273 stars 69 forks source link

XCode9 building error #65

Open lucasjinreal opened 7 years ago

lucasjinreal commented 7 years ago

Consider of swift4 comptible?

Sunrise17 commented 7 years ago

When will be published Swift 4 compatible version of Moscapsule?

lucasjinreal commented 7 years ago

@Sunrise17 No idea, I try to using MQTTClient-Framework, which implement in pure oc, but when I call it in swift, seems can not work at all....

Sunrise17 commented 7 years ago

@jinfagang if you follow the adjustments in following link below; moscapsule will become compatible with Swift 4, now i am using without an issue.

https://github.com/flightonary/Moscapsule/pull/63/files

riccardoch commented 5 years ago

@Sunrise17 Is it possible to install the version with those changes via CocoaPods?

Sunrise17 commented 5 years ago

@riccardoch, Yes it works without an issue.

riccardoch commented 5 years ago

@Sunrise17 but using pod 'Moscapsule', :git => 'https://github.com/flightonary/Moscapsule.git' it doesn't download version 0.6. Am I doing something wrong?

Sunrise17 commented 5 years ago

@riccardoch, have you ever tried to update cocoapod and its repository ( sudo gem install cocoapods pod repo update) ? After you have updated, try to install pod again.

riccardoch commented 5 years ago

@Sunrise17 pod update solved my issue, thanks